- GitHub: https://github.com/JakinChan200
- GitHub: https://github.com/NathanKong06
- GitHub: https://github.com/shjawale
This is a Python application based off of the popular online minigame "2048" where one tries to achieve the 2048 tile through combining smaller tiles. There are two ways of playing the game, either you play or the bot plays. The game starts with 2 tiles, either a 2 tile or a 4 tile, spawning another 2 or 4 tile after every move. The goal is to maximize the highest tile on the board by combining pairs of tiles left, right, up, and down.
Bot Playing:
Example Game Screen:
Game Over Screen:
-
Clone the repo
git clone https://github.com/JakinChan200/2048.git
-
Compile the C++ code
g++ -O4 -shared -o botLib.dll 2048.cpp -static -static-libgcc -static-libstdc++
-
Run
python 2048.py
- Click
You Playand use the ↑ ↓ ← → keys to merge similar tiles. Try to get the 2048 tile!
- Click
AI Playand watch as it attempts to get the 2048 tile!


