role-playing game in java