Documentation ¶
Index ¶
Constants ¶
View Source
const ( TERMWIDTH int = 80 TERMHEIGHT int = 24 )
TERMWIDTH is the minimum terminal width allowed to play TERMHEIGHT is the minimum terminal height allowed to play
Variables ¶
This section is empty.
Functions ¶
func DrawOptions ¶
func DrawOptions(keyPressed chan termbox.Key, gameOptions *game.Options, selectedOption string) bool
DrawOptions handles the options page shown before the game starts
func DrawSmallTerminal ¶
func DrawSmallTerminal(termWidth, termHeight int)
DrawSmallTerminal shows a warning that tells the player that the terminal is too small
Types ¶
Click to show internal directories.
Click to hide internal directories.