[−][src]Crate freecell
Modules
game_state_parser | Contains the function parse_file(...) which reads a text file containing a game state and converts it into a GameState object. |
Structs
Card | Represents one card in the game. |
Foundations | Four stacks of cards, where each stack contains only cards of one suit, going from Ace upwards. |
GameState | |
Move | Represents one step in the game, where a card is moved from one position to another. |
Enums
Colour | Indicates the colour of a card. |
Position | Indicates the position of a card. |
Suit | Indicates the suit of a card. |
Constants
ACE | |
JACK | |
KING | |
QUEEN |
Traits
CardCollection |
Functions
rank_from_string | Converts a String to a Rank. |
Type Definitions
Cascade | A stack of arbitrary cards. |
Cascades | |
Color | Alias for the American spelling of Colour. |
Foundation | A stack of cards of one suit, ordered from Ace upwards. |
Freecells | May hold up to four arbitrary cards |
GameStateId | |
Rank | Indicates the rank of a card. |