Project 0: 2048
Project Demo
Play the demo here!
Bonus Features
If you’re familiar with the Java version of this project, here are some new features to be aware of:
- The game has been generalized to an N * M grid (rather than just 4 * 4)
- The game does not end at 2048 (the “max tile”). Just like most other implementations, the game continues until moves can no longer be made, so 4096 and beyond are valid tiles.
- You are encouraged, but not forced to, make helper methods for
game_over
. - Not as many tests are needed, since there is no longer a stateful “model” object to test. Also tests relating to the “max tile” have been removed.