This repository contains the implementation of the 2048 game. The game is built using Java as well as JavaFX and provides a classic 2048 puzzle experience where players combine tiles to reach the 2048 tile.
- Classic 2048 Gameplay: Combine tiles with the same number to create larger tiles.
- User Interface: Simple and intuitive design for an engaging user experience.
- Scoring System: Keeps track of the player's score and displays it in real-time.
- Clone the repository:
git clone https://github.com/omaramkotb22/2048.git
cd 2048
mvn clean install
Run the application:
mvn exec:java -Dexec.mainClass="com.example.Main"
Use the arrow keys to move the tiles and combine them to reach the 2048 tile.
Contributions are welcome! Please fork the repository and submit a pull request.