Crate rusty_freecell

Crate rusty_freecell 

Source
Expand description

A FreeCell game written in Rust

Modulesยง

cards ๐Ÿ”’
Utilities for creating cards and decks
game ๐Ÿ”’
Manages the state of the FreeCell game

Constantsยง

MIN_TERMINAL_HEIGHT ๐Ÿ”’
Minimum height of the terminal window supported by the game.
MIN_TERMINAL_WIDTH ๐Ÿ”’
Minimum width of the terminal window supported by the game.

Functionsยง

cleanup ๐Ÿ”’
Cleans up the terminal after the game finishes or is interrupted. This function restores the terminal to its normal state, showing the cursor and disabling raw mode.
main ๐Ÿ”’
The main function of the FreeCell game.
run ๐Ÿ”’
Runs the game loop.