Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PlayerChar = []string{"\\//\\", "/\\\\/"}
PlayerChar defines how should each player entries rendered
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct { State [][]int CurrentPlayer int Width int Height int Winner int Cancel context.CancelFunc PlayerOneWins int PlayerTwoWins int // contains filtered or unexported fields }
Game defines the state of the game and arena details
func (*Game) SplashScreen ¶
func (g *Game) SplashScreen()
SplashScreen will render splash screen animation
func (*Game) StateString ¶
func (*Game) WriteState ¶
Click to show internal directories.
Click to hide internal directories.