feat(Game): ajout fin message

This commit is contained in:
2025-11-10 17:36:37 +01:00
parent 985bc7834d
commit 7415af4b72

View File

@@ -266,6 +266,13 @@ public class Game
e.printStackTrace();
}
}
System.out.println("Fini!\nVoici le score :");
for (Car c : cars)
{
System.out.println(c.getName() + "\t" + c.getScore());
}
System.exit(0);
}
public ArrayList<Car> getCars()