2048 is a single-player sliding block puzzle game designed by Italian web developer Gabriele Cirulli. The game's objective is to slide numbered tiles on a grid to combine them to create a tile with the number 2048. However, one can continue to play the game after reaching the goal, creating tiles with larger numbers.
- no requirements if you run the executable directly
- If you run the game using
2048.py
:
- Python
- Install all the dependencies needed
pip install -r requirements.txt
- Run
2048.exe
directly -
python 2048.py
If you choose the 2nd way, you will see blow:
$ python 2048.py
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Since source code for the 1st way is lost, so the 2nd way does not contain music and sound effect.
- Zhengguan Li