Riemann Snake is a simple 3D game written using C++ and OpenGL. Navigate the snake with the left and right arrow keys, and avoid the enemies. Move over green apples to grow longer and increase your score!
The game is open source, with code available on Github.
This project uses the following libraries:
- GLFW 3 for OpenGL context, input and window
- GLM for matrix mathematics
- glload for loading OpenGL functions
- irrKlang for audio
- lodepng for loading image files
For details on building and linking these, see the associated pages at the GLSDK wiki for building and usage.
lodepng can be included as a header file, irrKlang is linked dynamically and requires the .dll to be available.
The game has been built with VS2012, and requires some c++11 features. To build for Windows:
- Set up the required include and library directories
- Specify dependencies: irrKlang.lib, glfw3.lib, glload(D).lib, opengl32.lib
You may need to include irrKlang.dll in the same folder as the executable.
The game has not yet been tested on Linux.
Riemann Snake uses libraries which are part of the Unofficial OpenGL Software Development Kit.
- GLFW is under the zlib/libpng license
- GLM is under the MIT license
- glload is under the MIT license
Additional libraries are under the licences given by their authors:
- irrKlang
- lodepng
