Skip to content

singhmanasmay/YARCS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YARCS Icon YARCS - Yet Another Rubik's Cube Solver

YARCS is a modern, efficient Rubik's cube solver application with an intuitive graphical interface. It allows users to input any cube configuration and get step-by-step solving instructions.

preview

Features

  • ⚡ Quick shortcuts for filling the cube
  • 🎨 Quick shortcuts for changing fill color
  • 🚀 Instant solutions
  • ✨ Smooth animations
  • 🎲 Supports custom output cubes
  • 🔄 Real time preview of both input and output cubes

Installation

  1. Download the latest release from the releases page
  2. Run the downloaded file YARCS.exe

Or run from source:

  1. Clone this repository
  2. Install dependencies:
pip install -r requirements.txt
  1. Run YARCS.pyw

Requirements

  • Windows 10 1507 and above
  • Python 3.x (if running from source)
  • Python packages in requirements.txt (if running from source)1

Usage

  1. Use the color selector to pick/change the fill color2
  2. Input your cube's current state:
    • Click on stickers to fill them with the selected color3
    • Center squares are fixed and represent face colors
  3. The program creates an algorithm with standard 3x3 move notations to transition the input cube to the output cube
  4. The solution will appear automatically in the right panel
  • Press the reset button to clear all inputs on the selected cube
  • Switch between the input and output cubes with the input/output toggle

Note

Please be mindful about the orientation of the the faces while filling in the cube

Solution Algorithm

YARCS uses Herbert Kociemba's Two-Phase Algorithm for solving the Rubik's cube. This algorithm:

  • Finds optimal or near-optimal solutions
  • Can solve any valid cube state
  • Supports solving between arbitrary cube states (not just to the solved state)
  • Typically finds solutions in under 20 moves

Footnotes

  1. Please ensure you have Microsoft C++ build tools installed before installing kociemba module

  2. Mouse scroll wheel can also be used to quickly cycle between the colors

  3. Hovering over the stickers while holding the spacebar can also be used to quickly fill the Cube

About

Yet Another Rubik's Cube Solver

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages