Crate ascii_hangman_backend[][src]

Expand description

This module provides the backend API for the game logic


Defines the game state and logic


State of the application.


The ASCII-art image should not change too often, to keep the children focused on the words rather then on the image. The disclosing image should be seen as an additional motivation that changes only from time to time. This value determines how many games should start with the same image until it changes.

Fallback sample configuration when the desktop application finds no configuration. This is also place holder and default when the web application starts.

Configuration template. This short version is used in the web application.

Number of wrong guess allowed.

Title line.


API to interact with all game logic. This is used by the desktop frontend in or by the web-app frontend in