mohammed0xff / SnakeGame

Snake Game made with C++ and SDL2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:CMake 51.9%Language:C++ 48.1%