/project1

WDI16-Project#1: Hangman

Primary LanguageCSS

PROJECT 1: HANGMAN

Have a player enter a word under a selected category that will be guessed during the game. The word is then hidden and represented by blank dashes. The second player then chooses letters, which are revealed if present. If second player guesses correctly before their lives reach 0, second player wins and gets a point. First player wins when the second player lose all their lives. Both players can keep playing without having to refresh the page.

TECHNOLOGIES

  • HTML
  • CSS
  • JAVASCRIPT

APPROACH

Started the project with pseudo coding, sketching and researching. Then tasks are split into small sections for HTML, CSS and JS. The front end (HTML and CSS) portion is completed first before proceeding with the back end (JS). Game is then tested for bugs. List of identified issues are resolved in order, from easiest to hardest.

UNSOLVED PROBLEMS

  • Keypress/enter function for submit buttons
  • Forbidding invalid inputs like numbers and symbols