Versions in this module Expand all Collapse all v0 v0.0.9 Oct 20, 2021 Changes in this version + var Cols int + var Rows int + func GetGhostPosition() (int, int) type Cell + X int + Y int + func (c *Cell) PathEstimatedCost(to astar.Pather) float64 + func (c *Cell) PathNeighborCost(to astar.Pather) float64 + func (c *Cell) PathNeighbors() []astar.Pather type Ghost + func (g *Ghost) ThinkMore() v0.0.8 Oct 18, 2021 v0.0.7 Oct 18, 2021 Changes in this version + const MapForTest type Avatar + func (t *Avatar) ParseToBeginningFor6() bool + func (t *Avatar) ParseWordBackwardForB() bool + func (t *Avatar) ParseWordEndForE() bool + func (t *Avatar) ParseWordForwardForW() bool v0.0.6 Oct 17, 2021 Changes in this version + var MapIndex map[int]string + func InitGame() v0.0.5 Oct 17, 2021 Changes in this version + type Cell struct + Char rune + Color int + Point int type Maze + func (m *Maze) InitMaze(str string) v0.0.4 Oct 16, 2021 Changes in this version + const Map1 + const Map2 + const Map3 + const Map4 + const Map5 + const Map6 + const Map7 + const Map8 + const Map9 type Avatar + func (t *Avatar) ParseToDowning() bool + func (t *Avatar) ParseToUpping() bool type Maze + Point [][]int v0.0.3 Oct 16, 2021 Changes in this version type Avatar + func (t *Avatar) ParseToBeginning() bool + func (t *Avatar) ParseToEnd() bool + func (t *Avatar) ParseWordBackward() bool + func (t *Avatar) ParseWordEnd() bool + func (t *Avatar) ParseWordForward() bool v0.0.2 Oct 16, 2021 v0.0.1 Oct 16, 2021 Changes in this version + var Ghost1 *Ghost + var GlobMaze Maze + var Map0 = ... + var MoveOrNot bool + var Player *Avatar + var TotalPoints int64 + var WonGame int + func CanMove() bool + func CharAt(a, b int) rune + func GetPlayerPosition() (int, int) + func IsValid(a, b int) bool + func Lost() bool + func WriteAt(a, b int, curChar rune) + func WriteAtWithColor(a, b int, curChar rune, color int) + type Avatar struct + Color int + ColorUnder int + IsPlayer bool + LetterUnder rune + Lives int64 + Points int64 + Portrait rune + X int + Y int + func Born() *Avatar + func (t *Avatar) MoveDown() bool + func (t *Avatar) MoveLeft() bool + func (t *Avatar) MoveRight() bool + func (t *Avatar) MoveTo(a, b int) bool + func (t *Avatar) MoveUp() bool + type Ghost struct + CanMove bool + func SpawnGhost() *Ghost + func (g *Ghost) Think() + type Maze struct + Graph [][]rune + Paint [][]int