Skip to content

Hangman command-line game using constructor functions.

Notifications You must be signed in to change notification settings

derazmus/Constructors-Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Constructors-Hangman

  • Hangman command-line game using constructor functions.

Instructions

  • The completed game should meet the following criteria:
  • The completed game should be able to receive user input using the inquirer or prompt npm packages.
  • Word: Used to create an object representing the current word the user is attempting to guess. This should contain word specific logic and data. Letter: Used for each letter in the current word. Each letter object should either display an underlying character, or a blank placeholder (such as an underscore), depending on whether or not the user has guessed the letter. This should contain letter specific logic and data.
  • You must keep track of the user's remaining guesses and prompt the user if they would like to end the game if none remain.
  • Each constructor function should be in it's own file and be exported and required wherever needed.
  • Look into function prototypes and use them for a few of your constructor's methods.

Programs used

  • javascript
  • jQuery
  • node.js
  • npm

NPM packages used

  • Inquirer
  • Prompt
  • Chalk

About

Hangman command-line game using constructor functions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published