Skip to content

Latest commit

 

History

History
27 lines (13 loc) · 1.19 KB

README.md

File metadata and controls

27 lines (13 loc) · 1.19 KB

Constructor-Word-Guess

  • Game Information: This is a node.js based application with interactive prompts on the command-line. Test your knowledge of the common web developer terms.
  1. The game requires inquirer npm package.
  • Letter.js: Contains a constructor, Letter. This constructor displays a blank placeholder depending on whether or not the user has guessed the letter.

  • Word.js: Contains a constructor, Word that depends on the Letter constructor. This is used to create an object representing the current word the user is attempting to guess.

  • index.js: The file containing the logic for the course of the game, which depends on Word.js and:

    • Randomly selects a word and uses the Word constructor to store it

    • Prompts the user for each guess and keeps track of the user's remaining guesses

  1. Letter.js should not require any other files.

  2. Word.js should only require Letter.js

  • Screenshot Images wordconstructor1

wordconstructor2