rubikscube

package
v0.0.0-...-77dae5d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cube

type Cube struct {
	// contains filtered or unexported fields
}

func NewCube

func NewCube(state string, size int) *Cube

func NewCubeSlice

func NewCubeSlice(slice [][][]int, size int) *Cube

func (*Cube) RotateClockwise

func (c *Cube) RotateClockwise(level int)

func (*Cube) RotateCounterClockwise

func (c *Cube) RotateCounterClockwise(level int)

func (*Cube) RotateDown

func (c *Cube) RotateDown(columns int)

func (*Cube) RotateLeft

func (c *Cube) RotateLeft(rows int)

func (*Cube) RotateRight

func (c *Cube) RotateRight(rows int)

func (*Cube) RotateUp

func (c *Cube) RotateUp(columns int)

func (*Cube) SetState

func (c *Cube) SetState(s string)

func (*Cube) Solved

func (c *Cube) Solved() bool

func (*Cube) String

func (c *Cube) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL