October 6, 2024

Hangman – Part 1 – The Working Game

Author: Greg Stager
Go to Source

This was a fun project that was borne out of a discussion found at the link below.

https://elearning.adobe.com/2019/09/word-builder-example/#comment-152315

Interestingly enough, that link was also inspired by a different post. That link can be found within the discussion at the above link.

Anyway – Here is my hangman contribution. This will be a 2-part series. In this part, I will share the working game and give a little overview.

In the second post, I will provide the CPTX project file and discuss the code a little bit.

Overview

Here are some features of this version of Hangman.

  1. Students can only play the game.
  2. Teachers may play the game but – with a password – may also insert additional words for their students. Additional words are temporary and will only last for the browser session or until the ‘Start Over’ button is pressed.
  3. This game comes with two default words.
  4. Default words can be modified and more may be added from within the project file. These will persist through a closing down of the app or browser.
  5. Words have a maximum length of 15 letters.
  6. Players will have 6 missed chances before being “hung”.
  7. A Win/Loss score is kept for the full word list and will reset on a new game.
  8. Letter choices will disable after being selected.

Enjoy the game and feel free to ask any questions that you may have in the comments.
If you wish to add some words of your own – the password is   g00dGam3

Play

The post Hangman – Part 1 – The Working Game appeared first on eLearning.

Read more