twentyseven-0.0.0: Rubik's cube solver

Safe HaskellNone
LanguageHaskell2010

Rubik.Solver.TwoPhase

Description

Two phase algorithm to solve a Rubik's cube

Synopsis

Documentation

phase1Solved :: Cube -> Bool Source

phase1Solved (phase1 c)

phase2Solved :: Cube -> Bool Source

phase1Solved c ==> phase2Solved (phase2 c)

solve :: Cube -> Move Source

Solve a scrambled Rubik's cube.

Make sure the cube is actually solvable with solvable, before calling this function.