Documentation
¶
Index ¶
Constants ¶
View Source
const ( GAME = iota OVER WIN HIDE = '~' MINE = '*' FLAG = '!' GESS = '?' BOOM = 'X' EMPTY = ' ' ZERO = '0' )
Variables ¶
This section is empty.
Functions ¶
func ReverseStrings ¶
func ReverseStrings(xs []string)
ReverseStrings reverses a slice of strings in place
Types ¶
type Event ¶
func NewEventFromBytes ¶
type Game ¶
type Game struct {
M *Model
Difficulty Difficulty
// contains filtered or unexported fields
}
func NewGame ¶
func NewGame(difficulty Difficulty, dbg bool) *Game
Click to show internal directories.
Click to hide internal directories.