[][src]Module ascii_hangman::image

Holds a dictionary of built-in ASCII art images and manages the piecemeal disclosure to the image. Also parses user provided images if given in the configuration file.

Structs

ImChar

One character of the ASCII art image.

Image

An ASCII-art image.

Enums

RewardingScheme

A game mode defining how the ASCII-art image will be disclosed progressively.

Constants

BIG_IMAGE

Threshold to decide from how many characters on the images is considered to be "big". Big images are disclosed with another algorithm.

CONF_LINE_IDENTIFIER__CONTROL

Tags control common lines in the configuration file.

CONF_LINE_IDENTIFIER__IMAGE

Identifier tagging image data in configuration files.

DEFAULT_IMAGES

A collection of built-in images from whom one is chosen at the start of the game.

DEFAULT_REWARDING_SCHEME

Default game mode. Can be changed in the configuration file.

UNHIDE_WHEN_GUESSED_CHAR_IDENTIFIER

Keyword in the configuration file to switch rewarding scheme in the enum RewardingScheme to UnHideWhenGuessedChar

UNHIDE_WHEN_LOST_LIVE_IDENTIFIER

Keyword in the configuration file to switch rewarding scheme in the enum RewardingScheme to UnHideWhenLostLife