A simple snake game that runs on the terminal.
Use the arrow keys or the AWSD keys to move the snake around the board. The goal is to eat as many apples as possible without running into the walls or the snake's own tail. Each apple you eat will increase your score by one point.
Press the space bar to pause the game and press q to exit.
- Clone this repository.
- Build the game by running
./configure && make
. - Install the game by running
make install
. - Start it by running
snek
. - Profit.
- Use the up arrow key or the W key to move the snake up.
- Use the down arrow key or the S key to move the snake down.
- Use the left arrow key or the A key to move the snake left.
- Use the right arrow key or the D key to move the snake right.
- Press the space bar to pause the game.
- Press r to reset the game at any time
- Press q to exit the game.
This game was created using C++ and the ncurses
library.
This project is licensed under the MIT License - see the LICENSE file for details.