alexrbrowne / terminal_hangman_node

A terminal version of Hangman built in Node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hangman Built in Node for Terminal

Purpose: This was an interview output from a limited time pairing exercise.

Requirements:

  1. Display the number of dashes for the number of letters to guess
  2. Allow the user to guess a letter
  3. If correct, display that letter on all dashes that are applicable
  4. If wrong, draw a body part of a hangman
  5. If hangman is completed drawn (5 parts), the computer wins
  6. If all the dashes are replaced with letters, the user wins

About

A terminal version of Hangman built in Node


Languages

Language:TypeScript 98.3%Language:JavaScript 1.7%