Skip to content

neur0n-7/virtual-cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Cube

Customizable virtual 3D Rubik's Cube using pygame without any external 3D engine


image

image


Important

Requires modules pygame and numpy. Run pip install -r requirements.txt to install the required packages on your system before running main.py.

Instructions

  • Click and drag with your mouse/touchpad/touchscreen to rotate/look around the cube
  • Use the F, B, L, R, U, and D keys to move
  • F = Front, B = Back, L = Left, R = Right, U = Up, D = Down
  • Each move is clockwise when looking directly at the face you are turning
  • To execute a prime move (counterclockwise move), hold shift while moving a face

Download

  1. Download this repository as a .zip file.
  2. Extract the .zip into a folder.
  3. Install the required packages with pip install -r requirements.txt.
  4. Run main.py from the terminal or any other IDE/text editor that supports Python.

Alternatively, if you have git installed, run git clone https://github.com/neur0n-7/virtual-cube.git to directly clone the contents of this repository.

Report Issues

If you happen to have an issue with Virtual Cube, please open an issue on GitHub.
If you are unsure on how to open an issue, see this link.

About

Virtual 3D Rubik's Cube using pygame

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages