connect4.mov
A very simple 4 in a row game for 2 players.
I made this for a clean and easy way to play connect four with nephews and nieces, and to start learning iOS development/SwiftUI.
Development notes:
- It is surprisingly difficult to put holes in a rectangle in SwiftUI (there is no reverse mask type API)
- Everything else went pretty smoothly. The hardest part was probably animating the dimming of chips not involved in the winning play for some reason.
Improvements:
- Add a computer opponent for a single player mode
- Animations could definitely be better
It's available on the app store as Plain 4 in a Row (Connect 4 is trademarked).