Skip to content

Modern Snake game implemented in C++17 with OpenGL graphics rendering.

License

Notifications You must be signed in to change notification settings

rafalmaziejuk/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

animated

About

Snake game written in C++ using modern OpenGL for graphics rendering.

Dependencies:

  • GLFW
  • GLAD
  • Dear ImGui
  • stb_image
  • FreeType
  • Premake5

References:

Assets:

Controls

Turn left Turn right
A D

Building the project

Start by cloning the repository with git clone --recursive https://github.com/rafalmaziejuk/Snake.
If you cloned the repository without --recursive option, use git submodule update --init.

Windows

Open scripts folder and run genWindows.bat for Visual Studio 2019 project generation, launch *.sln file and build Solution.

Linux

Open scripts folder, run ./genLinux.sh build and then ./genLinux.sh run.

TODO

  • 2D batch renderer
  • Refactor Singleton classes (TextRenderer, InputManager)
  • Events handling
  • Texture atlasses loading
  • Particles
  • Post-processing effects
  • Sounds