NeverMendel/snake.cpp

Terminal based snake game written in C++ with ncurses

โ˜… 0Forks 0C++GitHub โ†—Compare

README

snake.cpp

Terminal based snake game written in C++ with ncurses.

snake.gif

๐Ÿ“ Table of Contents

๐Ÿ“• About

snake.cpp is a terminal based snake game written in C++. It can be played from any terminal that supports ncurses.

๐ŸŒŸ Features

  • Smooth gameplay
  • Score tracking
  • Terminal-based, play anywhere

๐Ÿ› ๏ธ How to build

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 snake

๐Ÿš€ How to run

To run the game using bazel, use the following command:

bazel run snake

Alternatively, download the latest binary from the release page and run it.

๐Ÿ‘ฅ Contributing

Contributions are welcome! Please read the contributing guidelines before getting started.

๐Ÿ“ License

MIT License

Contributors

NeverMendel

Issues