Coder Social home page Coder Social logo

project_one's Introduction

///////// Technologies used in this application ///////// This Hangman game was developed using html with flex, css, javascript and jquery.

//////// Development Approach ///////// The approach to the development game was to split the submitted word into an array. It would then create a div with a bottom border, innerHTML, and specified classes or ID's for each letter in the array.

Player two would then click a button representing their letter guess. The array would be inspected to verify if the selected letter exists. If the letter does exist, the application will iterate through the array to identify the appropriate boxes that contain the corresponding value and expose the letter to the user in the correct position in the word.

A counter will increment every time the letter guessed appears in the array. When the counter equals the number of letters in the solution the player wins.

A second counter will increment each time an incorrect guess is made. A new hangman picture will display each time this counter increments. Each successive picture displays a more complete "hangman". A "game over" alert is called when the allowable number of incorrect guesses have been made and the picture is completed.

///////// Unsolved Issues ///////// At this time the game cannot accomodate solutions with repeated letters. It cannot identify all divs with the same id or class and change the properties of them.

The development timelines did not allow for the refinement of presentation and style.

This application is not yet completely responsive.

////////// User Stories //////////

  1. Users need to know how many letters are in the word.
  2. The user needs to know which letters have been selected and which are still available.
  3. The user will want to play on devices with different screen sizes.
  4. The user will want instructions available
  5. The user may want to track the number of wins for player 1 vs. player 2.

project_one's People

Contributors

cjwightman avatar evalaidc 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.