Crate ascii_hangman[][src]

Expand description

Loads the configuration and runs the game workflow. This file not sourced for the wasm32 (wasm) target.

Constants

Text to show as command-line help –help

Fallback sample configuration when no configuration file can be found. Fallback secret when no configuration file can be found.

Default configuration filename when no filename is given at the command-line.

Traits

Trait to render the text user interface (TUI)

Functions

Starts the game. This is the terminal application

Reads the configuration file.

Writes a sample configuration file on disk. Called when no configuration file can be found.