Mastermind game implemented in java using RMI.