Documentation ¶
Overview ¶
Package millipede provides a framework for creating millipedes. millipede is designed to be easy to understand and write, the most simple application can be written as follow:
func main() { fmt.Println(millipede.New(20)) }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringToRuneSlice ¶
StringToRuneSlice converts a string to a slice of runes
Types ¶
type Millipede ¶
type Millipede struct { // Size is the amount of feet pairs Size uint64 // Reverse is the flag that indicates the direction (up/down) Reverse bool // Skin is the current millipede skin (template) Skin string // Opposite is the flag that indicates the direction (left/right) Opposite bool // Width is the width of the millipede (depending on its age and the food it consumes) Width uint64 // Curve is the size of the curve Curve uint64 }
Click to show internal directories.
Click to hide internal directories.