package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Aug 31, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package player provides data used for tic-tac-go players
Callback is a player move callback.
Player represents the game player.
Create creates a new player.
Letter returns player's letter.
Move 'makes' player's move.
Name returns player's name.
Type returns player's type.
Type represents players' types.
const (
PlayerPC Type = iota
PlayerPerson
)
player types.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.