This is a 2048 style game coding with Swift for MacOS and used SpriteKit as 2-D AppDev Framework.
This project follows the MVC paradigm.
This file includes the core algorithm of the 2048 game. There are three public methods offered to users.
- generate() uses to initial the number matrix and update it after every play() executed.
- play() function exacutes the specific action depends on keyEvents instruction.
- getvalue() gets back the number matrix and the total score.
GameScene: Sign in UI
PlayScene: Game playing UI
Replaced numbers in the grid with foreign alphabet images made the game more savor.
Use a simple view controller to controll behaviors of game scenes.
2048 game is involved under the MIT LICENSE.

