From 03b66f151b6a899792f4217c31f84af76c230545 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 10 Jan 2022 00:16:58 +0100 Subject: Add a `totalGames' variable This will be important in order to calculate the `averageMoves' variable. --- draughts/environment.js | 1 + 1 file changed, 1 insertion(+) 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: [] } -- cgit v1.2.3