A MasterMind implementation in JavaScript and ReactJS