Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Canvas ¶
type Canvas struct {
// contains filtered or unexported fields
}
func ReadCanvasFromFile ¶
func (*Canvas) Dimensions ¶
func (*Canvas) WriteToFile ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
func NewGame ¶
func NewGame(auth auth.Authenticator, config GameConfig) *Game
func (*Game) CanvasSavingRoutine ¶
func (game *Game) CanvasSavingRoutine()
func (*Game) HandleConnection ¶
func (game *Game) HandleConnection(w http.ResponseWriter, r *http.Request)
func (*Game) SaveCanvas ¶
func (game *Game) SaveCanvas()
type GameConfig ¶
Click to show internal directories.
Click to hide internal directories.