Snake Game made with C++ and SDL2
- 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
- Open
snake.sln
file - Follow lazy foo guide to set up SDL2 on Visual Studio.
- Press
F5
to build and run the program.