fixes in Game.java Method gamePhase
This commit is contained in:
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue