aboutsummaryrefslogtreecommitdiffstats
path: root/battleshipFiles/constants.js
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2023-02-28 15:44:44 +0100
committerMaksymilian Jopek <maks@jopek.eu>2023-04-13 14:29:47 +0200
commitf1c31316a12a76c9b9af4b40e605eb040d7dbd43 (patch)
tree6019979099dba38e83de865462a19c2943156743 /battleshipFiles/constants.js
downloadbattleship-f1c31316a12a76c9b9af4b40e605eb040d7dbd43.tar.gz
battleship-f1c31316a12a76c9b9af4b40e605eb040d7dbd43.tar.zst
battleship-f1c31316a12a76c9b9af4b40e605eb040d7dbd43.zip
v1.0.0
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