Skip to content

m-wolowicz/Hangman-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hangman-Game

Trilogy Education Services Full-Stack Web Developer Program

University of Miami Cohort - 201710FSF3

Week 03 Homework Assignment:

Create a computer game using javascript.

Option Two: Hangman Game (Challenge - Recommended)

Overview

In this assignment, you'll create a computer game: Psychic. This app will run in the browser, and feature dynamically updated HTML powered by your JavaScript code.

Option Two: Hangman Game (Challenge - Recommended)

  1. Choose a theme for your game! In the demo, we picked an 80s theme: 80s questions, 80s sound and an 80s aesthetic. You can choose any subject for your theme, though, so be creative!

  2. Use key events to listen for the letters that your players will type.

  3. Display the following on the page:

  4. Press any key to get started!

  5. Wins: (# of times user guessed the word correctly).

    • If the word is madonna, display it like this when the game starts: _ _ _ _ _ _ _.

    • As the user guesses the correct letters, reveal them: m a d o _ _ a.

  6. Number of Guesses Remaining: (# of guesses remaining for the user).

  7. Letters Already Guessed: (Letters the user has guessed, displayed like L Z Y H).

  8. After the user wins/loses the game should automatically choose another word and make the user play it.

Hangman Game Bonuses
  1. Play a sound or song when the user guesses their word correctly, like in our demo.
  2. Write some stylish CSS rules to make a design that fits your game's theme.

Releases

No releases published

Packages

 
 
 

Contributors