Rubik's cube made in python using pygame that can either be toggled between manual and automatic solving modes.
Python and Pygame must be installed
- Get python from https://www.python.org/downloads/
- Run
py -m pip install -U pygame --user
to install pygame
Start the application by running python cube.py
or py cube.py
in the root of the repo.
Controls
- enter to go into automatic solve mode
- q,w,e,a,s,and d to rotate the left and right faces
- u,y,j,h,m,and n to rotate the top and bottom faces
- o,p,l,and ; to rotate the front and back faces
- arrow keys,period,and comma to rotate the entire cube