The 2048 Game is a sliding tile puzzle built using Python and Pygame. Players combine tiles with matching numbers by sliding them in four directions to create the 2048 tile while maximizing their score. The game features a dynamic grid, random tile generation, and a real-time scoring system. It provides an interactive experience and showcases the implementation of grid-based logic and 2D game development concepts.
- Clone the Repository
git clone https://github.com/RohitMugalya/2048-game.git cd 2048-game
- Ensure you've python 3.6 or higher
- install the
pygame
package using the commandpip install pygame
- To run in Graphical User interface
python gui2048.py
- To run in Command Line Interface
python cli2048.py
Feel free to fork the repository, make improvements, or open an issue if you find any bugs or have suggestions for enhancements.
Happy Coding :)