We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572485a commit 99ba469Copy full SHA for 99ba469
resources/web/player.js
@@ -225,7 +225,7 @@ function allow_manual_move(player_id, json) {
225
this.take_auto_action(this.player_id, json);
226
}
227
} else if (move === 'AliceEnd' || move === 'BobEnd') {
228
- element.innerHTML = `<h2>Game outcome</h2><div>${game_outcome(json)}</div><div>${JSON.stringify(json.readable)}</div>`;
+ element.innerHTML = `<h2>Game outcome</h2><div>${game_outcome(player_id, json)}</div><div>${JSON.stringify(json.readable)}</div>`;
229
} else {
230
element.innerHTML = `unhandled state ${move}`;
231
0 commit comments