Skip to content

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