Skip to content

GhoulKingR/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake game

A snake game that runs in the terminal. gameplay

Requirements

  • C++ 20+ compiler
  • CMake 4.0+
  • make

Running the game

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

Controlling the snake

In this game you can control the snake's direction using the WASD key-binding or, if you want vim key-bindings hjkl.

About

Yet another snake game. But this one works in the terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published