This is a console based snake game that was made in C++ for Linux (not Windows). It uses ncurses for drawing.
This is the interface:
I think it is beautiful.
The first step: download repository git clone https://github.com/valixxx1/snake_game
If you have processor x64 and Ubuntu OS, try to run snake file ./snake
Else:
- Make sure you have make util
sudo apt install make
- Also pay attention that you need have g++
sudo apt install g++
- Compile files with command
make
- Run the game
./snake
Press WASD for changing snake's direct. If your snake bump into the border or itself, the game will end. I think everybody knows how to play this game)))
If you have an idea how to upgrade this game, you can send me a pull request. Maybe I will implement this.