Mastermind game implemented in java using sockets.