Skip to content

emcglackenr1/Vanilla-Javascript-Hangman-Game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript-Hangman-Game

Available to view here: https://emcglackenr1.github.io/Vanilla-Javascript-Hangman-Game/

Hangman Design Mid Game

Pure JS Hangman Game. Inspired by Codepen projects such as: simonjsuh, tallulahh and mevko.

As well as content from: Isaacks, J.D. (2018) Get Programming with JavaScript Next

I am currently in the process of adding to this and editing it.

Keyboard

The site is responsive so that it works on any type of device. The layout, text and image size adjust to maintain usability. One example of this can be seen in the keyboard design:

Keyboard Mobile Keyboard Desktop
Keyboard mobile Keyboard desktop

The keys also fade when they have already been selected. Once a letter is guessed using the keyboard it is disabled and faded. By fading previously selected letters the user is reminded which they have already guessed.

disabled buttons demo disabled buttons demo

Hangman Art

0 Mistakes 1 Mistakes 2 Mistakes
Hangman 1 Guess Taken Hangman 2 Guesses Taken Hangman 3 Guesses Taken
4 Mistakes 5 Mistakes 6 Game Lost
Hangman 4 Guesses Taken Hangman 5 Guesses Taken Hangman 6 Guesses Taken
Win Lose
Hangman Image Win Hangman Image Lose

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 44.5%
  • CSS 33.0%
  • HTML 22.5%