Jon-Erik / Constructor-Hangman

Word guessing command line game using constructors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Constructor-Hangman

Coding Bootcamp Project

This command line application uses constructors and the inqurirer node module to create a hangman game. Random words or phrases are chosen from an array and displayed as underscores, and the user is prompted to guess a letter. If the user submits a valid and correct letter, the appropriate letter appears in place of the underscore. If the letter is incorrect, the user loses a guess. The user wins by guessing all the correct letters of a word or phrase. If the user wins, a new random word or phrase is chosen and displayed automatically, and the user is prompted to be begin guessing again. The game ends when the user runs out of guesses.

About

Word guessing command line game using constructors


Languages

Language:JavaScript 100.0%