A Swift implementation of Minesweeper.
- MineswifterGame contains the game logic, in functional-ish style (algebraic data types, abuse of functions).
- MineswifterScene contains the view logic—it's a normal SpriteKit scene.
- No drawn sprites—only emoji.
This should run on the simulator or on any device running iOS 7.0+.
To play—tap a square quickly to reveal it, or hold longer to flag it. Hit a bomb, and you die. Uncover all the bomb-less squares and win! Tap the face to start a new game.