This is a CLI based game to see how well you know about colors.
You can directly play the game by clicking on the link provided in the about section of this repository or follow the instructions below to play it locally on your system resources.
Even though I have included required dependencies along with the Javascript file, you might have issues running it on your terminal. So, I would recommend you to install the below dependencies incase you have issues running the JS file.
Before running this program,
We will need
- readlinesync - to read input from user.
- chalk - to add colors and styles in the terminal
You can install them by running the following commands in your terminal.
npm install readline-sync chalk
You should have node.js installed on your system. Then, in the directory of the index file, open terminal and run
node index.js
You can also run the same in your VS Code terminal as long as you are in the directory of the folder.