Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) GetGameStatus ¶
func (c *Controller) GetGameStatus() *GameStatus
func (*Controller) Move ¶
func (c *Controller) Move(x, y int) (*GameStatus, error)
func (*Controller) Restart ¶
func (c *Controller) Restart() *GameStatus
func (*Controller) SwitchPlayer ¶
func (c *Controller) SwitchPlayer(isO bool) *GameStatus
type GameStatus ¶
Click to show internal directories.
Click to hide internal directories.