/2048

This repository will contain all my work and progress throughout the COMP2042 coursework

Primary LanguageJava

2048 Game Project

Overview

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.

Features

  • 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.

Installation

  1. Clone the repository:
    git clone https://github.com/omaramkotb22/2048.git

Navigate to the project directory:

cd 2048

Build the project using Maven:

mvn clean install

Usage

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.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.