about summary refs log tree commit diff stats
path: root/html/broughlike/config.js
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-10-30 23:16:53 -0400
committerelioat <elioat@tilde.institute>2024-10-30 23:16:53 -0400
commit9aba1d9aa7a212a14862a0aecf1e3495fd18e13d (patch)
treefd5f3637c4a415fbb0f8d0d415e2ce5fb570be3d /html/broughlike/config.js
parentc8a8b22d8749ccafd89f058a9c675bef1b6e54bd (diff)
downloadtour-9aba1d9aa7a212a14862a0aecf1e3495fd18e13d.tar.gz
*
Diffstat (limited to 'html/broughlike/config.js')
-rw-r--r--html/broughlike/config.js32
1 files changed, 32 insertions, 0 deletions
diff --git a/html/broughlike/config.js b/html/broughlike/config.js
new file mode 100644
index 0000000..5897c27
--- /dev/null
+++ b/html/broughlike/config.js
@@ -0,0 +1,32 @@
+export const COLORS = {
+    grid: '#2d2d2d',
+    walls: '#2d2d2d',
+    exit: 'teal',
+    diamond: 'gold',
+    pentagon: 'blueviolet', 
+    player: 'rgba(0, 237, 209, ',
+    enemy: 'rgba(255, 155, 28, ',
+    boss: 'rgba(255, 14, 0, ',
+    combatDotPlayer: '#00edd1',
+    combatDotEnemy: '#ff731c',
+    combatDotBoss: '#b70030'
+};
+
+export const CONFIG = {
+    GRID_SIZE: 6,
+    PLAYER_HEALTH: 12,
+    PLAYER_MAX_HEALTH: 16,
+    PLAYER_BASE_DAMAGE: 1,
+    ENEMY_CHASE_DISTANCE: 4,
+    ENEMY_BOSS_OCCURRENCE: 10,
+    MIN_ENEMIES_ON_LEVEL: 1,
+    MAX_ENEMIES_ON_LEVEL: 4,
+    MAX_ENEMY_HEALTH: 7,
+    MIN_ENEMY_HEALTH: 2,
+    MIN_ROOM_SIZE: 4,
+    WALLS_MIN: 7,
+    WALLS_MAX: 20,
+    ITEMS_MIN: 1,
+    ITEMS_MAX: 3,
+    DOTS_PER_HIT: 7
+};