fixes in Game.java Method gamePhase

This commit is contained in:
romanschenk37 committed 2022-03-18 10:43:51 +01:00
1 parent 63204a4b29
commit e1e03d4ad4
1 file changed
-1
@@ -183,7 +183,6 @@ public class Game implements GameSpecification {
userInterface.printTrack(track);
Direction direction = track.getCar(currentCarIndex).getMoveStrategy().nextMove();
doCarTurn(direction);
int winner = getWinner();
if(allCarsCrashed()) {
return NO_WINNER;
}