2048 is a classic mobile game. This is a spinoff of 2048 for desktop using Python3's built-in tkinter framework.
Run the file named 2048.exe, a pre-compiled python executable.
With Python3 installed, run these instructions within the 2048/ folder, in the terminal.
Windows | py -m venv env && env\Scripts\activate && py -m pip install -r requirements.txt |
Windows | python main.pyw |
In addition to the traditional game mechanics, there are:
- Local highscore tables
- In-depth game statistics
- Saving and loading capabilities
The code utilises:
- Object oriented design (utilised in switching views)
- Matrix manipulation (core mechanics of the 2048 board)
- File I/O (saving and loading)
- Use of 3rd party libraries (for image manipulation)
If you would like more information, there is a full documentation of the development process and tests used.