Skip to content

juanpichvrdo/node-wordle-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-wordle-cli

A version of the game Wordle in your terminal.

Game

Players have six attempts to guess a five-letter word, everytime a guess is entered, it will be printed to the terminal with the color of the letters changing, indicating when letters match or occupy the correct position.

A collection of all letters of the (english) alphabet will be shown after each guess to help players keep track of the status of letters.

node-wordle-cli

How to run

The quicket way to play is to download it with npx:

  npx node-wordle-cli

or

install globally running:

  npm i -g node-wordle-cli

and then run with:

  node-wordle-cli

Run Locally

Clone the project

  git clone git@github.com:juanpichvrdo/node-wordle-cli.git

Go to the project directory

  cd node-wordle-cli

Install dependencies

  npm install

Run and watch file changes with nodemon:

  npm run dev

Build:

  npm run build

Build and then run the builded files:

  npm run start

Todo

  • Add tests

Credits

Wordle is a game created by Josh Wardle (@powerlanguish).

License

MIT