Expand description
Utilities for printing the state of the FreeCell game to the terminal
Constantsยง
- CARD_
PRINT_ ๐HEIGHT - Width of a printed card in characters.
- CARD_
PRINT_ ๐WIDTH - Width of a printed card in characters.
- DEFAULT_
TERMINAL_ ๐HEIGHT - Default height of the terminal window.
- DEFAULT_
TERMINAL_ ๐WIDTH - Default width of the terminal window.
- RANK_
STRINGS ๐ - Strings representing ranks in the order: empty, A, 2, 3, โฆ, 10, J, Q, K.
- SUIT_
STRINGS ๐ - Strings representing suits in the order: empty, hearts, clubs, diamonds, spades.
- TABLEAU_
VERTICAL_ ๐OFFSET - Vertical printing offset (measured in characters) between cards that are stacked on top of each other on the tableau.
- TYPICAL_
BOARD_ ๐HEIGHT - Typical height of the game board in number of lines. This is used for vertically centering the win screen.