hangman game

  • slider image 1
  • slider image 2
  • slider image 3
  • slider image 4
  • slider image 5
  • slider image 6
  • slider image 7
  • slider image 8
06/09/23

This project was initially built in Python several years ago when I was learning the language, and it was played through the terminal. Recently, I decided to recreate it from scratch blindly using JavaScript, HTML, and CSS as it would be more interactive and an overall better project. It also gave me the chance to my understanding of DOM manipulation and general JavaScript. I didn’t focus on CSS on this project, it was mainly to test and improve my DOM manipulation skills. Overall, the project proved to be quite challenging with it taking me a week and a half, mainly due to recurring issues such as double confirmation pop-up notifications, where users had to confirm their actions twice, and also because I have not programmed in OOP in a few months with the last time in Java so it took me time to get used to its syntax. From it, I gained a better understanding of OOP and DOM manipulation in JavaScript.

features

  • Fully functional Hangman game with over 1,000 possible words to guess.
  • Created used Object Orineted Programming with JavaScript.
  • Players can reset and quit the game.
  • Utilized popup confim and alert boxes to inform the player.
  • Checks user input to see if its valid as numbers, symbols and white spaces are not allowed.
  • Each word has an amount of guesses based on its length to make the game more fair.
html
css
javascript