A game in java