diff options
Diffstat (limited to 'html/broughlike/config.js')
-rw-r--r-- | html/broughlike/config.js | 32 |
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 +}; |