The infamous Mastermind game written in latest Javascript with React.
You can play the game at: http://mastermind-react.herokuapp.com/
Yeah, I know it does not look too good, but who cares?
Black code peg means correct position + color. White code peg means correct position only. Their position are generated randomly.