Skip to content

jesuisstan/hangmanTheGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hangmanTheGame

Foreword:

This is my very first project written in vanilla Javascript. It is a small console-game. The project demonstrates basic knoledgement on working with variables, input/output (prompt()), strings, loops and conditions.

What is this game about?

Hangman is a popular yet grim puzzle game. A computer hides a word from user, which user tries to guess letter by letter. If user fails, he'll be “hanged”. If user wins, he'll survive. A user have 8 attempts to guess a hidden word. Every time a user guesses a wrong letter, he loses one attempt.

Demostration:

demonstration.mp4

How to play "Hangman" the game?

Requirements:

Instruction:

  1. Run the command "node hangman.js" in console
  2. Follow the instructions on the command line