From 9aba1d9aa7a212a14862a0aecf1e3495fd18e13d Mon Sep 17 00:00:00 2001 From: elioat Date: Wed, 30 Oct 2024 23:16:53 -0400 Subject: * --- html/broughlike/config.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 html/broughlike/config.js (limited to 'html/broughlike/config.js') 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 +}; -- cgit 1.4.1-2-gfad0