Code Monkey home page Code Monkey logo

hangman's Introduction

HANGMAN using javascript, css, html

Image of Hangman

Steps to followed

  • The game page must contain the start button to start the game.
  • Initially, the image will appear as shown.
  • The player has a total of 6 lifelines (chances for wrong answers/guess)
  • For every attempt in guessing the words, Total right and wrong guessed letters must appear in the separate sections at the top.
  • The player guessing the word may, at any time, attempt to guess the whole word.
  • If the word is correct, the game is over and the guesser wins.
  • Otherwise, the player will be penalized by adding an element to the diagram.
  • On the other hand, if the other player makes enough incorrect guesses to allow the system to complete the diagram, the game is also over and the player loses.
  • However, the guesser can also win by guessing all the letters that appear in the word, there by completing the word, before the diagram is completed.
  • On completion on one level advanced the user to the next level with more difficult words.
  • Once each level is completed, display the result with a win or lose status and generate game points accordingly.
  • After generating the result, navigate the user back to the game page and restart the game accordingly.
  • The user who guesses more words straight without losing bangs the highest score

TODO

  • Need to fix Responsive
  • Reduce function complexity

hangman's People

Stargazers

kavin raj avatar

Watchers

James Cloos avatar kavin raj avatar

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.