Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 414 Bytes

File metadata and controls

20 lines (13 loc) · 414 Bytes

JavaScript Hangman Refactoring Code

You need latest nodejs(v.10 or higher) and npm installed on your local machine. To check if you have installed nodejs, run the following commands :

node -v (it should be v10 or higher)
npm -v

Follow these steps to run this code :

git clone https://github.com/floppylab/clean-code.git

cd clean-code/hangman/JavaScript

npm install

node hangman.js