Skip to main content

Crate go_fish

Crate go_fish 

Source
Expand description

§go-fish

go-fish is a library providing core functionality for the classic Go Fish card game.

Structs§

Card
A playing card
CompleteBook
A collection of four Cards of the same Rank
Deck
A deck of Cards
Game
Handling for a game of Go Fish
GameResult
Hand
A players hand
Hook
A request for another players cards
InactivePlayer
A player who no longer has any viable moves. They can still win the game, if they have more Completed Books than any other player at the end of the game
IncompleteBook
A collection of three or fewer Cards of the same Rank
Player
A player actively trying to win the game
PlayerId

Enums§

HookResult
Rank
The rank (or value) of a Card
Suit
The suit of a Card
TurnError