tanmay2004 / Rubiks-Cube

A Rubik's Cube Simulator and AI made in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rubiks-Cube

A Rubik's Cube Simulator and AI made in Python

This code contains a program that displays and solves a Rubik's Cube. It runs in Python using the Tkinter and Random modules, and any mathematics relating to the 3D projection are performed within the program. Quaternions are used to rotate the entire cube as well as its individual sides. At the time, I was practicing my Spanish vocabulary, and, as such, almost all of the functions and variables in the project are named in Spanish. If you want to gain a better understanding of how the program works, I would suggest going through the file with comments added. The code contains many failsafes to prevent crashing and other errors, but if you notice any issues feel free to contact me. To download these files individually, please visit maxdobbs.itch.io/rubiks-cube.

Thank you to Tanmay Garg for adapting the font sizes for different systems.

About

A Rubik's Cube Simulator and AI made in Python


Languages

Language:Python 100.0%