Skip to content

djflorio/react-mastermind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Mastermind

A clone of the game Mastermind using React.js.

alt text

How to play:

You have 10 guesses to figure out the secret 4-color code.

  • Select a color from the bottom, and choose a slot in the current row to place it.
  • When the row is filled, press the check button to test your guess.
  • For every color that is correct, but in the wrong slot, a white light will appear to the left of your guess.
  • For every color that is correct, and in the correct slot, a black light will appear to the left of your guess.

Notes:

  • The position of the black/white lights is not related to your guess, only the number of black/white lights.
  • The secret code doesn't contain any duplicate colors.

About

A React JS clone of Mastermind

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published