Skip to content

3D Rubiks cube game made with openGl API and C++. You have 3 min to complete the puzzle. Basic instructions appear on screen and more detailed instructions in the readme file.

Notifications You must be signed in to change notification settings

bloulidi/Rubiks-Cube

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 

Repository files navigation

HOW TO PLAY: 
Use UP/DOWN/LEFT/RIGHT/U/J to move the selector cube on the Rubik's Cube to indicate which position the player is selecting. 
Use T/G/F/H/Y/V to rotate the group of cubes along the X/Y/Z axis respectively. 
Press 1-5 on number key to select a cube you would like to play on. 
Press F2 to start a game on the selected cube. The cube will be shuffled and the timer will start ticking 
Press F1 to stop the game and return to selecting a cube 

project file path: ../Framework/VS2017/Labs.vcxproj

Key Bind: 

movement =========================
WASD: Move 
Space: fly up
Lctrl: fly down 
Shift: Increase movement speed 

camera control =======================
mouse: FPS camera (pan and tilt)
mouse while holding left click: zooming in and out 

Cube selection ==================
Press 1-5 on number keys to select to cube you would like to play on. 
NOTE: CUBE SELECTION IS DISABLED WHILE THE GAME IS ONGOING 

Gameplay ============================
F2: start game
F1: stop game (return to cube selection) 
UP/DOWN/LEFT/RIGHT/U/J: move the position of the selector cube 
T/G: rotate selected cubes along y axis 
F/H: rotate selected cubes along x axis 
Y/V: rotate selected cubes along z axis 

Lighting Control ===========================
Tab: toggle flashlighting on/off


About

3D Rubiks cube game made with openGl API and C++. You have 3 min to complete the puzzle. Basic instructions appear on screen and more detailed instructions in the readme file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 75.7%
  • C++ 22.6%
  • GLSL 1.7%