A game of Mastermind, created from scratch