Rubik
Description
A small project I started to better understand and visualize the process of solving Rubik's cube.
Controls
Mouse
- Left button drag - rotate cube face
- Right button drag - rotate camera around the cube
- Scroll wheel - zoom
- Middle button click - reset camera
Keyboard
- F, B, R, L, U, D - Rotate respective faces of the cube
- X, Y, Z - Rotate cube
- Hold Left Shift to invert direction of the rotation
- Ctrl + Z - Undo last move
Onscreen controls
- Rotate respective faces with 'Front', 'Back', 'Left', 'Right', 'Up', 'Down' buttons
- Tick 'Counterclockwise' box to rotate counterclockwise
- Use 'X', 'Y', 'Z' buttons to rotate the whole cube itself on respective axis
- Use 'Undo' to revert last move
- Use 'Undo all' to revert all moves according to the move history
- Use 'Clear history' to clear move history
- Use 'Scramble' to randomize the cube
- Use 'Seq' buttons to permorm predefined sequences of moves, required to solve the cube
Features
- Faces rotations are relative to the camera
- Scramble functionality
- History of moves with 'Undo', 'Undo all' and 'Clear history' functionality
- Predefined sequences of moves required to solve the cube
Features to implement
- Add solving guide
- Add descriptions for each of the sequences
- Add sound effects
Leave a comment
Log in with itch.io to leave a comment.