Rebuild the popular game mastermind