Skip to content

dacicus75/Constructor-Word-Guess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published