aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2022-01-10 00:16:58 +0100
committerThomas Voss <thomasvoss@live.com> 2022-01-10 00:16:58 +0100
commit03b66f151b6a899792f4217c31f84af76c230545 (patch)
tree3c57ade4f55ba74e241f7a00f7d015c36a53f0cd
parenta623b6edf69713e0e3fd70bc763b1fe74d2c9588 (diff)
Add a `totalGames' variable
This will be important in order to calculate the `averageMoves' variable.
-rw-r--r--draughts/environment.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/draughts/environment.js b/draughts/environment.js
index 0745ca0..a3ca053 100644
--- a/draughts/environment.js
+++ b/draughts/environment.js
@@ -4,6 +4,7 @@
const environment = {
minimumMoves: Infinity,
averageMoves: Infinity,
+ totalGames: 0,
games: []
}