diff --git a/challenge_coders_of_the_caribbean.py b/challenge_coders_of_the_caribbean.py index b3ec141..eae0000 100644 --- a/challenge_coders_of_the_caribbean.py +++ b/challenge_coders_of_the_caribbean.py @@ -357,7 +357,7 @@ def main(): perr(game_map.map) # Play - for ship in game_map.my_ships.values(): + for _, ship in sorted(game_map.my_ships.items()): ship.play_turn()