node_word_guess_game

This node word guess game uses the following node packages:
  • Inquirer
  • Is-Letter
  • Chalk
If cloning the repo be sure to run npm install to get packages required for use...

Hey there, this my simple, but neat node command line word guess game.

Below I'll show some images of the game in use. Clone the repo and try it out for yourself!


startOut

Starting out you run node index.js to start the program.


correctLetter

This is displayed if you guess a correct letter...


incorrectLetter

If you guess a wrong letter it tells you the letter you entered was not one of the letters in the word.


wordGuessed

When you finish completing the word it shows you that you have won and then asks you if you'd like to play again.


playAgain

If you choose to play again then a new word is generated and the game starts over.

Otherwise the game ends.


isLetter

This shows the functionality of the Is-Letter package.

Here we see that if you do not guess a single letter or guess something other than a letter then it will prompt you for a new guess.


Feel free to check out my site and give any feedback.