aboutsummaryrefslogtreecommitdiffstats
path: root/battleshipFiles/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'battleshipFiles/constants.js')
-rw-r--r--battleshipFiles/constants.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/battleshipFiles/constants.js b/battleshipFiles/constants.js
new file mode 100644
index 0000000..3b9df00
--- /dev/null
+++ b/battleshipFiles/constants.js
@@ -0,0 +1,27 @@
+ const MAP_SIZE = 10;
+ const NUM_OF_4 = 1;
+ const NUM_OF_3 = 2;
+ const NUM_OF_2 = 3;
+ const NUM_OF_1 = 4;
+ const TABLE_WIDTH = 60;
+ const TABLE_BG_COLOR = "bg-secondary";
+ const SHIP_BG_COLOR = "bg-info";
+ const SHIP_HITTED = "❌";
+ const SHIP_MISSED = "✘";
+ const BOT_DELAY = 1000;
+ let REMOVE_WAITING = false; // Cheats
+ let IM_SPEED = false; // Cheats
+ /*
+const MAP_SIZE = 10;
+const NUM_OF_4 = 1;
+const NUM_OF_3 = 0;
+const NUM_OF_2 = 0;
+const NUM_OF_1 = 0;
+const TABLE_WIDTH = 60;
+const TABLE_BG_COLOR = "bg-secondary";
+const SHIP_BG_COLOR = "bg-info";
+const SHIP_HITTED = "❌";
+const SHIP_MISSED = "✘";
+let IM_SPEED = false; // Cheats
+let REMOVE_WAITING = true; // Cheats
+*/ \ No newline at end of file