Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 605 Bytes

README.md

File metadata and controls

52 lines (34 loc) · 605 Bytes

RCS Python3

Rubik’s Cube Solver (Old Pochmann)



Virtual Environment

python3 -m venv venv
. venv/bin/activate

Requirements

pip3 install -r requirements.txt

Style and Linting

python3 -m black .
python3 -m flake8 .

Run / Example

python3 main.py
import main as rcs_main

test_cube, _ = rcs_main.create_random_scrambled_cube()

print(f"\nScrambled Cube:\n\n{str(test_cube)}\n")
print(f"Solution: {rcs_main.solve_old_pochmann(test_cube)}\n")
print(f"\nSolved Cube:\n\n{str(test_cube)}\n")