From f1c31316a12a76c9b9af4b40e605eb040d7dbd43 Mon Sep 17 00:00:00 2001 From: Maksymilian Jopek Date: Tue, 28 Feb 2023 15:44:44 +0100 Subject: v1.0.0 --- battleshipFiles/constants.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 battleshipFiles/constants.js (limited to 'battleshipFiles/constants.js') 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 -- cgit v1.3.1