Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 302 Bytes

README.md

File metadata and controls

8 lines (7 loc) · 302 Bytes

Snake Game

Small classic snake game built using C++ and SDL2

Building

Make sure that both g++ and SDL2 are installed then open terminal and run the following:

g++ main.cpp particle.cpp screen.cpp snake.cpp -o snake `sdl2-config --cflags --libs` -lSDL2 -lSDL2_mixer -lSDL2_image -lSDL2_ttf