Snake game written in C++ using modern OpenGL for graphics rendering.
Dependencies:
- GLFW
- GLAD
- Dear ImGui
- stb_image
- FreeType
- Premake5
References:
- docs.gl
- learnopengl.com
- TheCherno's Hazel game engine repository
- TheCherno's OpenGL series
- TheCherno's game engine series
Assets:
Turn left | Turn right |
---|---|
A | D |
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
.
Open scripts
folder and run genWindows.bat
for Visual Studio 2019 project generation, launch *.sln file and build Solution.
Open scripts
folder, run ./genLinux.sh build
and then ./genLinux.sh run
.
- 2D batch renderer
- Refactor Singleton classes (TextRenderer,
InputManager) Events handling- Texture atlasses loading
- Particles
- Post-processing effects
- Sounds