feature/MAPG-235-basic-challenge-mode #48
@ -412,6 +412,7 @@ const GameType = Object.freeze({ 'SINGLE': 0, 'MULTI': 1, 'CHALLENGE': 2 });
|
||||
}
|
||||
Game.rounds = [];
|
||||
|
||||
Game.scoreSum = 0;
|
||||
for (var i = 0; i < Game.history.length; ++i) {
|
||||
var round = Game.history[i];
|
||||
|
||||
@ -682,7 +683,7 @@ const GameType = Object.freeze({ 'SINGLE': 0, 'MULTI': 1, 'CHALLENGE': 2 });
|
||||
return;
|
||||
}
|
||||
|
||||
Game.history = this.response.history;
|
||||
Game.loadHistory(this.response.history);
|
||||
Game.restrictions = this.response.restrictions;
|
||||
|
||||
Game.receiveResult(this.response.position, guessPosition, this.response.result, this.response.allResults);
|
||||
|
Loading…
Reference in New Issue
Block a user