This game is a clone of Wordle. It's like the MasterMind game, but instead of colors you have to guess words.
- The original game only allows one word per day. This one can be played endlessly.
- Can work with custom dictionary files
You can try it out on Glitch:
The goal of the game is to guess a target word.
To do so, you enter guesses and the game will provide feedback for each letter of your guess:
- a letter that is placed in the correct spot will be marked green
- a letter that is present in the target word, but incorrectly placed will be marked yellow
- the unmarked letters are simply not present in the target word
All submitted guesses have to be valid words.
To make it easy, the keyboard at the bottom of the screen will highlight the statuses of each letter: present (green), not present (dark gray), unknown (light gray).
Clone this repo:
git clone https://github.com/clupasq/word-mastermind.git
cd word-mastermind
There are two options for runnning the program: with Node.JS or in Docker.
Make sure you have Node.JS 16 installed.
In the word-mastermind
directory, install the dependencies using yarn install
or npm install
.
Run the server: npm start
.
Go to http://localhost:3333.
In the word-mastermind
directory, issue the following command to prepare the Docker image:
docker build -t word-mastermind .
Then run the image:
docker run --rm -p "3333:80" word-mastermind
Go to http://localhost:3333.