This is a console game "Snake" created in C++ using the CMake library.
The game runs in a terminal and offers a classic gaming experience.This is a console game "Snake" created in C++ using the CMake library.
-
СClone the repository:
git clone https://github.com/Denys619/Console-Snake-Game.git cd Console-Snake-Game -
Build the project using CMake:
mkdir build cd build cmake .. make -
Run the game:
./snake
| Key | Action |
|---|---|
W |
Move up |
S |
Move down |
A |
Move left |
D |
Move right |
- Language: C++
- Assembly: CMake
- Console graphics: ASCII
- The logic of the game: Dynamic arrays, input processing
- ✅ Optimize rendering to avoid flicker
- 🔲 Add support for difficulty levels
- 🔲 Add saving the best results
- 🔲 Improve control (e.g. arrow support)
- 🔲 Add sound effects
- 🔲 Implement Windows support
If you like this project, here's how you can help:
- Put a star on GitHub
- Report bugs via Issues
- Suggest improvements via Pull Requests
- Sharethe project with your friends

