Mastermind distributed game, implemented with sockets