2048Bae is a Python implementation of the popular 2048 puzzle game. It consists of both front-end and back-end components, providing an interactive and enjoyable gaming experience.
2048Game/
│
├── images/
│ ├── 2048Bae.png # Welcome picture displayed when starting the game
│ └── 2048Bae.ico # Icon used for the application
│
├── lib/
│ ├── grid2048.py # Wrapper for the back-end logic
│ ├── matrix_core.pyx # Cython file containing the core logic of the game
│ ├── matrix_core.cp310-win_amd64 # Windows Python extension compiled from the Cython file
│ └── setup.py # Setup file for the back-end components
│
├── Release/
│ ├── 2048Bae.exe # Executable file for Windows users
│ └── images/ # Contains the same images used in the game
│
└── 2048.py # Main file containing the front-end logic of the game
To play the game, simply run the 2048.py
file. Follow the on-screen instructions to start the game and use the arrow keys to move the tiles.
Alternatively, Windows users can directly launch the 2048Bae.exe
file located in the Release
directory.
For further development, see Core API
- Clone or download the project repository.
- Ensure you have Python installed on your system.
- Install the required dependencies by creating a virtual environment and running
pip install -r requirements.txt
. - Navigate to the project directory and run
python 2048.py
to start the game.
- Developed by JeongHan Bae
- Inspired by the original 2048 puzzle game created by Gabriele Cirulli.
This project is licensed under the MIT License.