/rubix_cube

This repository features a Rubik's Cube solver that utilises advanced algorithms to find the fastest possible solution for a Rubik's Cube. The current implementation requires manual entry of the cube's state. Future updates aim to include camera-based detection for automatic state input and comprehensive written instructions with visual aids.

Primary LanguagePython

Rubik's Cube Solver

This repository contains a Rubik's Cube solver that uses algorithms to find the fastest possible way of solving a Rubik's Cube. Currently, the cube's state must be manually entered, but future enhancements may include using a camera to detect the unsolved cube and generating written instructions with arrows to illustrate the solution steps.

Features

  • Initialises a Rubik's Cube in its solved state.
  • Supports clockwise and counterclockwise rotations for each face.
  • Updates adjacent faces correctly after each rotation.
  • Prints the current state of the cube for visualisation.

Future Enhancements

  • Creating detailed solution instructions with arrows.
  • Compact the code, so it generates matrices, instead of changing premade ones.

Installation

To use this project, ensure you have Python installed along with the NumPy library.

pip install numpy