项目作者: acarlie

项目描述 :
CLI word guessing game featuring Node.JS and JavaScript constructor functions.
高级语言: JavaScript
项目地址: git://github.com/acarlie/Constructor_Word_Guess.git
创建时间: 2019-09-12T14:46:40Z
项目社区:https://github.com/acarlie/Constructor_Word_Guess

开源协议:

下载


CLI Word Guessing Game

‘CLI Word Guessing Game’ is a word guessing game featuring Node.JS and JavaScript constructor functions (Created by Amelia Carlie).

How to Install

This CLI application requires Node.JS. If Node.JS is not installed, see this link to install: https://nodejs.org/en/download/.

  1. First, clone the repository to your computer.
  2. Then, navigate to the folder in terminal/git bash. Type npm install to install all necessary node.js modules.

How to Play

  • To start the game, navigate to the folder in terminal/git bash. Type “node index” and hit enter.
  • Input your guess and hit enter.
  • If your answer is correct, the corresponding blanks will be filled in.
  • If your answer is incorrect, your guesses remaining will decrease.
  • The game ends when either you solve the puzzle, or you run out of guesses.
  • After the game ends, you be prompted to play a new puzzle.

Example of Gameplay

Screen capture gif of word guessing game.