Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Board ¶
type Board struct {
// contains filtered or unexported fields
}
func CreateBoard ¶
CreateBoard creates a 2d array used to display the field of the snake game
type Food ¶
type Food struct { Symbol string // contains filtered or unexported fields }
func CreateFood ¶
type Snake ¶
type Snake struct {
// contains filtered or unexported fields
}
func CreateSnake ¶
func (*Snake) GetSnakeLength ¶
func (*Snake) SetDirection ¶
Click to show internal directories.
Click to hide internal directories.