6 stable releases

✓ Uses Rust 2018 edition

new 5.2.1 Jul 8, 2020
5.2.0 Jul 1, 2020
5.1.0 Jun 27, 2020
4.10.3 Jun 25, 2020
4.10.0 Mar 26, 2020

41 downloads per month

MIT/Apache

200KB
3K SLoC

Rust 2K SLoC // 0.1% comments XSL 882 SLoC // 0.2% comments

title: ASCII-Hangman - hangman game for children with ASCII-art rewarding

Cargo Documentation License

A little game designed for primary kids to revise vocabulary in classroom. Setting up the vocabulary list is part of the learning process.

Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word, phrase or sentence and the other tries to guess it by suggesting letters or numbers, within a certain number of guesses. In this version for children the computer selects a word, phrase or sentence randomly out of a word-list defined in a configuration file. As a reward, with every guessed letter, some ASCII-art is gradually disclosed.

ASCII-ART HANGMAN FOR KIDS

          ,.
         (_|,.
        ,' /, )_____
     __j o``-'
    (")
     `-j
       `-._(
          |_\  |--^.
         /_]'|_| /_
            /_]'  /

Lifes:	7 	Last guess: k

 g o o d   l u _ k

Type a letter, then press [Enter]:

ASCII Hangman is available as a Web-Application and as a Desktop-Terminal-Application for several architectures. Try ASCII-Hangman-Web-App online.

Read more in ASCII-Hangman's user manual.

Documentation

User documentation:

Developer documentation:

Source code

Repository:

Distribution

ASCII-Hangman web application

As the ASCII-Hangman-Web-App is hosted on https://getreu.net, there is nothing to install. Just follow the link and enjoy playing: ASCII-Hangman-Web-App

ASCII-Hangman desktop version

Building and installing

This section describes how to download and build the desktop version of ASCII-Hangman.

  1. Install Rust, e.g.

    curl https://sh.rustup.rs -sSf | sh
    
  2. Download, compile and install:

    cargo install ascii-hangman
    sudo cp ~/.cargo/bin/ascii-hangman /usr/local/bin
    

    See also the user manual for a more detailed installation description.

This project follows Semantic Versioning.

About

Author:

  • Jens Getreu

Copyright:

  • Apache 2 licence or MIT licence

Dependencies

~0.4–1.8MB
~38K SLoC