beach-hangman

Beach Hangman

  1. This game uses key events to listen for the letters players type.

  2. When a player navigates to this website the following message is displayed: Press any key to get started!

  3. Beach words stored in an array are randomly selected and spaces are displayed for each letter in that word. As the player guesses the correct letters, they are revealed.

  4. The following statistics are recorded during the game:

  • Wins: (# of times a player guesses the word correctly).

  • Number of Guesses Remaining: (# of guesses remaining for the player).

  • Letters Already Guessed: (Letters the player has guessed that aren't in the word are displayed).

  1. After the player wins/loses, the player is given the option to restart or end the game.

Enjoy the game!