aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--draughts/color.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/draughts/color.js b/draughts/color.js
new file mode 100644
index 0000000..72361e8
--- /dev/null
+++ b/draughts/color.js
@@ -0,0 +1,7 @@
+/* A basic enumeration representing the two possible piece colors */
+const Color = {
+ BLUE: 0,
+ RED: 1
+}
+
+module.exports = Color