Game Logik in Java with HashSet