2025-11-24 14:23:37 -05:00
hi
2025-11-24 14:23:37 -05:00
hi
2025-11-24 14:23:37 -05:00
2025-11-07 10:51:43 -05:00
2025-11-07 00:55:27 -05:00

Snake Game

A simple terminal-based snake game written in C++.

Build

To build the game, run the following commands:

cmake -S . -B build && cmake --build build

How to Run

After building the project, you can run the game with the following command:

./build/snake

How to Play

  • Use the w, a, s, and d keys to control the snake.
    • w: move up
    • a: move left
    • s: move down
    • d: move right
  • The game ends if you collide with yourself.
  • Press q to quit the game at any time.

About

  • This is a simple implementation of the classic Snake game.
  • It is written in C++23.
  • It uses the ncurses library to render the game in the terminal.
S
Description
Cli game of snake in the least amount of lines I could get
Readme
375 KiB
Languages
C 94.3%
CMake 5.7%