Documentation
¶
Index ¶
Constants ¶
View Source
const ( Faint = iota White Red Green BrightGreen Blue Yellow Magenta Cyan WallColor WaterColor = Blue PlayerColor = BrightGreen Ghost = Red Char Nothing WallPortrait = '#' WaterPortrait = '~' PlayerPortrait = 'P' GhostPortrait = 'G' Win = 1 Lost = -1 Gaming = 0 )
Variables ¶
View Source
var DifficultyMap = map[Difficulty]time.Duration{ Easy: time.Second, Medium: 500 * time.Millisecond, Hard: 250 * time.Millisecond, }
Functions ¶
func IsAlphanumeric ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.