package
Version:
v0.0.0-...-ce9d6f3
Opens a new window with list of versions in this module.
Published: Dec 24, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Coord struct {
X, Y int
}
type FoodEaten struct {
FoodID int
}
type GameOver struct {
Successful bool
Winner int
}
type NewFood struct {
FoodID int
Pos Coord
}
type PlayerDied struct {
SnakeID peer.ID
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.