Skip to content

janumiko/Rubik-Cube-Solver

Repository files navigation

Haskell-Rubik-Cube-Solver

Usage

Compile files with haskell compiler.

ghc Main.hs

Run executable with input file

./Main inputfile

where input file has format seen below:

Down Color Color Color Color Yellow Color Color Color Color
Up Color Color Color Color White Color Color Color Color
Left Color Color Color Color Green Color Color Color Color
Right Color Color Color Color Blue Color Color Color Color
Front Color Color Color Color Red Color Color Color Color
Back Color Color Color Color Orange Color Color Color Color

The middle colors must be in positons like above (red - front, up - white, down - yellow).

Order of colors should match one seen in configuration

configuration

About

A Rubik's cube solver written using haskell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published