This project is a command line version of a Word guessing game. This is a command line version using Javascript constructor functions to create letter and word objects, the inquirer npm package to prompt users to guess a letter, and Node.js to run the Javascript code from the command line.
The following npm packages are dependencies to the project. You must install these packages in the project root directory to be able to play this Word Guess game from the command line.
npm install
- inquirer npm package (https://www.npmjs.com/package/twitter) - used to prompt users for a letter throughout the game.
- cli-color npm package (https://www.npmjs.com/package/cli-color) - used to add color to the game.
- figlet npm package (https://www.npmjs.com/package/figlet) - used to convert text into ASCII art - drawings made out of text characters.
- is-letter npm package (https://www.npmjs.com/package/is-letter) - used for form valiation. This package is used to check if the value the user enters is a letter (for example, "a") or not a letter (for example, "aba").
- boxen npm package (https://www.npmjs.com/package/boxen) - used to create boxes in terminal.
Version information for each of these packages is available in the package.json file in the project root directory.
Video demo: https://www.youtube.com/watch?v=mgBTgJYXmkc