fixes in Game.java Method gamePhase

This commit is contained in:
romanschenk37
2022-03-18 10:43:51 +01:00
parent 63204a4b29
commit e1e03d4ad4
@@ -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;
}