A simple terminal-based snake game written in C++.
To build the game, run the following commands:
cmake -S . -B build && cmake --build buildAfter building the project, you can run the game with the following command:
./build/snake- Use the
w,a,s, anddkeys to control the snake.w: move upa: move lefts: move downd: move right
- The game ends if you collide with yourself.
- Press
qto quit the game at any time.
- This is a simple implementation of the classic Snake game.
- It is written in C++23.
- It uses the
ncurseslibrary to render the game in the terminal.