Skip to content

AchintyaSingh0220/word-mastermind

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Mastermind

This game is a clone of Wordle. It's like the MasterMind game, but instead of colors you have to guess words.

Why?

  • The original game only allows one word per day. This one can be played endlessly.
  • Can work with custom dictionary files

Demo

You can try it out on Glitch:

How to Play

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).

Running the program

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.

Running with node

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.

Running with Docker

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.8%
  • HTML 13.9%
  • CSS 8.8%
  • Dockerfile 0.5%