fixes in Game.java Method gamePhase
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user