Skip to content

Fuji-Noobie-Ghost/snake-sdl2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S N A K E

SNAKE GAME implemented with C++ and SDL2 library

You need to have makefile support (make) and g++ installed in your system

  • Install SDL2

    • by following instruction in the SDL Github Repository
    • by following instruction in this Link (particularly for windows user). If you choose this option, you just need to extract "include" and "lib" from "x86_64-w64-mingw32" to the project root and extract "SDL2.dll" and "sdl2-config" to the "bin" directory that you need to create
  • Create a directory "bin" in the project root if not exists

    mkdir bin
  • Run the build command

    make build
  • Run the game with the command

    make run

Use your arrow keyboard to control the snake

Happy Gaming B) !

About

Simple Snake Game writing in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published