RUBIKS

Rubiks is a rubiks cube simulation written in OpenGL. ./rubiks.gif

Build Instruction

git clone https://www.github.com/khanalnabin/rubiks --recursive
cd rubiks
mkdir build
cd build
cmake ..
make
cd rubiks
./rubiks

Keys

Pressing following keys rotate that side of cube in clockwise direction.

The uppercase version of these keys rotate that side in anti-clockwise direction.

  • “f” : front
  • “b” : back
  • “r” : right
  • “l” : left
  • “u” : up
  • “d” : down

Pressing “s” will shuffle the cube and start to solve itself.