Skip to content

WHKnightZ/OpenGL_Cube_Snake

Repository files navigation

Cube Snake

Game made by C++ OpenGL

Content:

Setup:

  • Setup MinGW/GCC
  • Open main.c or Snake Cube.dev if you have Dev C++
  • Only build main.c

Linker:

  • Window: -lopengl32 -lglu32 -lfreeglut -lSDL2 -lSDL2_mixer -mwindows -m32
  • Ubuntu: -lGL -lGLU -lglut -lSDL2 -lSDL2_mixer

Introduction:

A 3D variation of the classical snake game, But the snake moves on the faces of the cube. When the snake touches edges of the cube, The cube will rotate to the face which the snake comes.

Image:

Image

Conclusion:

Thank to Indjoi.com

v0.1

  • The rotation effect is better looking
  • The colors are probably not very good, but I will update later

v0.2

  • Update color, sound

Youtube:

https://www.youtube.com/watch?v=U8873EyTvwA

--- End ---

About

Game Cube Snake

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages