Giter Club home page Giter Club logo

word-mastermind's Introduction

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 and yarn installed.

In the word-mastermind directory, install the dependencies using yarn install.

Run the server: yarn 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.

word-mastermind's People

Contributors

clupasq avatar fly-man- avatar rawa-ali-mohammed avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.