Giter Site home page Giter Site logo

project1's Introduction

#project1

Hangman game,

  • my first javascript, jquey, css and html project
  1. The game generates a random word from an array of words.
  2. The word is passed into a word checker to see if it was already used.
  3. If the word was already used the, another word is chosen from the array and checked until a word that wasn't used is found.
  4. After a word is successfully selected the word is replaced with dashes which are dispalyed
  5. The player is presented with 26 buttons representing each letter of the alphabet, the word to guess represented by dashes
  6. The is a score board to the left of the screen which get update by 1 for every word solved
  7. There is a gallow that will eventually display a hanging sprite once there are 6 unsuccessful guess before the word is solved
  8. The right of the screen displays the moves remaining
  9. Once the player choses a letter the corresponding buttons is disabled
  10. If the player is able to guess the word before losing all moves, their score is update by 1, another word is given and buttons are restored
  11. On the other hand if the player runs out of moves a message pops up stating no more moves, a new word is give and moves are reset to 6

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.