package
0.0.0-20211104010641-8c9bb28ce643
Repository: https://github.com/bcspragu/codenames.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CloneBoard returns a deep copy of the given board.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Revealed takes in a fully-filled out Spymaster board, and returns a new board where the card Agent is only populated for revealed cards.
Targets returns a list of cards that have been assigned to the given Agent type.
No description provided by the author
No description provided by the author
No description provided by the author
Unrevealed returns a list of cards that haven't been turned over yet.
Unused returns a list of cards that haven't been assigned an Agent type yet.
# Constants
Assassin means the codename belongs to the assassin.
BlueAgent means the codename belongs to an agent on the blue team.
No description provided by the author
Bystander means the codename doesn't belong to an agent.
Columns is the number of columns of cards in Codenames.
Game is pfinished.
NoRole is an error case.
NoStatus is an error case.
NoTeam is an error case.
No description provided by the author
Game hasn't started yet.
No description provided by the author
No description provided by the author
Game is in progress.
RedAgent means the codename belongs to an agent on the red team.
No description provided by the author
Rows is the number of rows of cards in Codenames.
Size is the total number of cards on a Codenames board.
No description provided by the author
UnknownAgent means we don't know who the codename belongs to.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Board contains all of the information about a game of Codenames.
Codename is a single game card, and its corresponding affiliation.
Clue is a word and a count from the Spymaster.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Agent is the affiliation of a codename.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author