Skip to content

mohammed0xff/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

SnakeGame

Snake Game made with C++ and SDL2

Demo

snake-demo

how to run

On Linux :

  • Install cmake and sdl2.
sudo apt Install cmake libsdl2-dev
  • Install sdl2-image
sudo apt install libsdl2-image-dev
  • Install sdl2-ttf
sudo apt-get install libsdl2-ttf-dev

  • Clone the repo
git clone https://github.com/mohammed0xff/SnakeGame
  • Make n Run
cd SnakeGame/snake 
cmake . 
make 
./snakeGame

On Windows :

  • Open snake.sln file
  • Follow lazy foo guide to set up SDL2 on Visual Studio.
  • Press F5 to build and run the program.

About

Snake Game made with C++ and SDL2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published