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

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

A terminal-based recreation of the classic Snake game
https://github.com/alex-croitoriu/snake

Last synced: about 1 month ago
JSON representation

A terminal-based recreation of the classic Snake game

Awesome Lists containing this project

README

        


Snake




![image](https://github.com/user-attachments/assets/bbba0e78-cdbd-4143-adf2-e3f463e363a9)


My very first project - a straightforward snake game written in C++.
The code could use some refinement, considering I was in my early stages of learning programming at the time.

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

## 🚀 Quick Start

### 1. Clone the project

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

### 2. Go to the project directory

```sh
cd Snake
```

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