aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--draughts/environment.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/draughts/environment.js b/draughts/environment.js
new file mode 100644
index 0000000..0745ca0
--- /dev/null
+++ b/draughts/environment.js
@@ -0,0 +1,10 @@
+/* An object representing the complete environment. It holds all the games as well as some statistics
+ * to be displayed on the splash screen.
+ */
+const environment = {
+ minimumMoves: Infinity,
+ averageMoves: Infinity,
+ games: []
+}
+
+module.exports = environment