An open API service indexing awesome lists of open source software.

https://github.com/alex-croitoriu/2048

A command-line adaptation of the popular 2048 game
https://github.com/alex-croitoriu/2048

Last synced: about 2 months ago
JSON representation

A command-line adaptation of the popular 2048 game

Awesome Lists containing this project

README

        


2048


![image](https://github.com/user-attachments/assets/5547c643-6ee2-4775-8984-7add3b48dae4)


The classic 2048 game written in C++. This was my second project and I might have some refactoring to consider, but this endeavor reflects the progress I've made since my early days of programming.

## 🛠️ Features
- Move the tiles using **W A S D**
- Monitor your current score and highscore
- Options to start a new game or quit

## 🚀 Quick Start

### 1. Clone the project

```sh
git clone https://github.com/JellyGamez/2048.git
```

### 2. Go to the project directory

```sh
cd 2048
```

### 3. Install dependencies (Linux only)

```sh
sudo apt-get install ncurses-dev
```

### 4. Compile

```sh
make
```

### 5. Launch the game

```sh
./main
```

## 📋 Note
The default terminal window may be too small, so make sure to resize it to fit the whole board and menu.