hcube-0.1.0: Virtual Rubik's cube of arbitrary size.

Portabilityportable
Stabilityprovisional
Maintainertodd.w.wegner@gmail.com
Safe HaskellNone

HCube.Cons

Description

Provides functions for re-constructing internal data representation of virtual cube from a physical cube.

Synopsis

Documentation

realToVirtual :: Size -> CubeSurf -> RubikSource

Constructs a virtual cube from a physical cube using CubeSurf.

consOrient :: (Side, Color) -> (Side, Color) -> OrientSource

Constructs the orientaion of a cubie from the color of two of its faces.