Skip to content

Matin-Ardestani/RubiksCube-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rubik's Cube Simulation

Rubik's Cube Simulation with VPython.

In this program we use VPython (Virtual Python) library to simulate a 3x3x3 Rubik's cube.

There are 18 buttons for different Rubik's cube moves and you can scramble the cube as long as you want.

Don't forget to star.⭐

Preview

Video_220914001250.mp4

How To Run Program

First of all, you need to install required packages mentioned in requirments.txt using following command:

$ pip install -r requirments.txt

Then, Run main.py file and enjoy our simulation :)

$ python src/main.py

Change Camera View

To control camera view and see all cube's sides you need to hold the right-click on your mouse and move it.

More Information

Social Media: MatinArdestani