Giter Club home page Giter Club logo

hangman's People

Contributors

pascalh avatar

Watchers

 avatar  avatar

hangman's Issues

Example live app

The current head of the master branch should be used to produce an example live app (including automatic rebuild after new commits). First plan was to use automatic deployment, but I decided to use a manual deployment inspired by elm-street-404.

Allow keyboard input for guessing

Right now a character can only be guessed by clicking on the respective button. It should also be possible to guess via keyboard.

Avoid negative minimum word length

The actions in the options view are not being checked, so it is possible to set the minimal word size to a negative number. The min word length interval should be [m,..,n] where m and n are the length of the shortest and longest word in the library respectively.

Tests the basic game logic

Test the following properties:

  • Game is won after all characters of the word have been guessed.
  • Game is lost after making too many mistakes.
  • StartGameWithWord correctly sets the word to guess and it won't change by guessing characters and triggering actions which do not affect current game (see below).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.