1.0.1 • Published 5 years ago

constructor-word-guess v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Welcome to Constructor Word Guess

Constructor Word Guess is a colorful CLI-based, bicycle-themed word guessing game.

Getting Started

To install on your local machine, run the following in your terminal:

$ npm install constructor-word-guess

Create a .js file and use the following

require('./node_modules/constructor-word-guess')

Game Play

Users will first be greeted with an option to play a new game or exit the game. start_game

Upon selecting "New Game" users will start a new game and can begin guessing letters.

Users may only enter one lowercase letter. If a user enters numbers, special characters, uppercase letters or multiple letters they will see an error message instructing them of their mistake. validation

When a user guesses all the letters of a word correctly, they will be notified that they have one and will be asked if they want to start a new game or exit. Win

Should a user make 10 mistakes when guessing letters, they will lose the game and be offered the opportunity to either start a new game or exit. Game_Over

Exiting the game will take the user back to the terminal. Exit_Game

NPMs used

1.0.1

5 years ago

1.0.0

5 years ago