Documentation
¶
Index ¶
Constants ¶
View Source
const ( RUNE_RUNNING = '🐍' RUNE_GAMEOVER = '🐶' )
Variables ¶
View Source
var (
RUNE_FRUIT = []rune{
'🍉', '🍌', '🍇', '🍈', '🍊', '🍋', '🍌', '🍍', '🍎', '🍐', '🍑', '🍒', '🍓', '🥝', '🍅', '🥥', '🥑',
}
)
Functions ¶
This section is empty.
Types ¶
type Cell ¶
func NewCellRand ¶
type Engine ¶
type Game ¶
type Game struct { *tview.Box Listener Listener App *tview.Application Board *Board Engine *Engine }
func (*Game) InputHandler ¶
func (*Game) UpdateBoard ¶
Click to show internal directories.
Click to hide internal directories.