File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
runner/src/main/java/com/codingame/gameengine/runner Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,11 @@ The CodinGame SDK is regularly updated and improved. This document lets you know
6
6
7
7
### 🎁 New feature
8
8
9
- - the [ EndScreenModule] ( playground/extensions/extensions-4-endscreen.md ) is now bundled with the sdk.
9
+ - The [ EndScreenModule] ( playground/extensions/extensions-4-endscreen.md ) is now bundled with the sdk.
10
+
11
+ ### 🐞 Bug fix
12
+
13
+ - Fixed absence of game summaries from the local test page of SOLO games.
10
14
11
15
## 3.1.0
12
16
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ private void runAgents() {
137
137
if (validTurn ) {
138
138
gameResult .outputs .get ("referee" ).add (refereeStdout .toString ());
139
139
refereeStdout .reset ();
140
- gameResult .summaries .add (turnInfo .get (InputCommand .SUMMARY ).orElse (null ));
140
+ gameResult .summaries .add (turnInfo .get (InputCommand .SUMMARY ).orElse (turnInfo . get ( InputCommand . INFOS ). orElse ( null ) ));
141
141
}
142
142
143
143
if ((validTurn ) && (!turnInfo .get (InputCommand .SCORES ).isPresent ())) {
@@ -425,9 +425,9 @@ public void write(int b) throws IOException {
425
425
requireGameNotEnded ();
426
426
Properties conf = new Properties ();
427
427
initialize (conf );
428
-
428
+
429
429
runAgents ();
430
-
430
+
431
431
referee .destroy ();
432
432
destroyPlayers ();
433
433
gameEnded = true ;
You can’t perform that action at this time.
0 commit comments