A snake game that runs in the terminal.
- C++ 20+ compiler
- CMake 4.0+
- make
To run the game on your local system, follow these steps:
- Clone the repository:
git clone https://github.com/GhoulKingR/snake
- Cd into the project directory:
cd snake
- Create a new
build
folder and cd into it:
mkdir build
cd build
- Compile the project:
cmake ..
make
- Run the game:
./snake
In this game you can control the snake's direction using the WASD
key-binding or, if you want vim key-bindings hjkl
.