Terminal based snake game written in C++ with ncurses.
snake.cpp is a terminal based snake game written in C++. It can be played from any terminal that supports ncurses.
- Smooth gameplay
- Score tracking
- Terminal-based, play anywhere
snake.cpp uses bazel as its build system. To build game, you need to have bazel installed on your system or use the dev container provided in the repository.
If bazel is not installed in your system, install it or use bazelisk.
Use bazel to build the game:
bazel build snakeTo run the game using bazel, use the following command:
bazel run snakeAlternatively, download the latest binary from the release page and run it.
Contributions are welcome! Please read the contributing guidelines before getting started.
