No description, website, or topics provided.
C++ C Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
devlog
lodepng
shaders
sound
textures
README.md
audio.cpp
audio.h
cube.cpp
cube.h
fileio.cpp
fileio.h
font.cpp
font.h
game.cpp
game.h
irrKlang.dll
level.cpp
level.h
logging.cpp
logging.h
main.cpp
noise.cpp
noise.h
player.cpp
player.h
shader.cpp
shader.h
text.h
timer.cpp
timer.h
transform.cpp
transform.h
types.h
util.cpp
util.h

README.md

Riemann Snake

About

Preview

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.

Dependencies

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.

Building for Windows

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.

Building for Linux

The game has not yet been tested on Linux.

Licence and copyright

Riemann Snake uses libraries which are part of the Unofficial OpenGL Software Development Kit.

Additional libraries are under the licences given by their authors:

  • irrKlang
  • lodepng