Skip to content

lramac3/Word-Guess-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Hangman

Hangman is a word guess command-line game. It is inspired by the classic word game in which you must guess as many secret words as you can before time runs out! Challenge your friends and learn new words.

Getting Started

This game requires Node.js in order to be played. Make sure Node exists on your computer! To download the npm package, run the following command in your terminal

sudo npm install hangman-app -g

install-package-globally

Commands

Once you download the hangman-app package enter the commands listed in the example below to look up info. Once user enters hangman in command line and hits enter, user can start playing the game.

hangman

User can start guessing letters by typing a single letter at a time (case insensitive). Try to guess the word before you run out of guesses!

hangman-correct-guess

After each guess user is alerted whether the guess is correct or wrong and the number of guesses that remain.

hangman-incorrect-guess

Once the user completes the game, user can choose to continue to play or exit by typing y or n. Use screenshots below as reference

hangman-unsolved

hangman-solved

hangman-replay

hangman-exit

NPMs Used

inquirer, chalk