[][src]Crate ascii_hangman_backend

This module provides the backend API for the game logic

Modules

game

Defines the game state and logic

Structs

Backend

State of the application.

Constants

AUTHOR
CONF_TEMPLATE

Fallback sample configuration when no configuration file can be found.

LIVES

Number of wrong guess allowed.

TITLE

Title line.

VERSION

Traits

HangmanBackend

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