Skip to content
/ cnake Public

🐍 snake game written in C++ using SDL2

License

Notifications You must be signed in to change notification settings

kotivas/cnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐍 Cnake

The snake game written in C++ using SDL2 library

inspired by Google Snake Game

Also available page on itch.io

πŸ“· Gameplay

gameplay

release 1.0

πŸ› οΈ Compiling

After installing SDL2, SDL2_mixer, SDL2_ttf and SDL2_image, execute the following commands

git clone https://github.com/kotivas/cnake
cd cnake
cmake -B build
cmake --build build

The compiled executable file will be located in build folder

Warning

cnake executable and folder assets should be in the one folder

Otherwise the game will not be able to find assets.

πŸ’œ Thanks

I express special gratitude to my friends, GrayCircle and VaneZ, who supported and helped develop the game all throughout its development