diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2022-04-21 13:44:38 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2022-04-21 15:55:51 +0200 |
| commit | ca7f97e765024b3ba279f2c4485e28add7b7e1a7 (patch) | |
| tree | f696510846b2654151ba99aebafcf5bb5445e254 /src/consts.ts | |
| parent | 6b08c641e9ad1f3b1c7ecc626efc0ee34d3d6925 (diff) | |
| download | boules-ca7f97e765024b3ba279f2c4485e28add7b7e1a7.tar.gz boules-ca7f97e765024b3ba279f2c4485e28add7b7e1a7.tar.zst boules-ca7f97e765024b3ba279f2c4485e28add7b7e1a7.zip | |
v1.0.0
Diffstat (limited to 'src/consts.ts')
| -rw-r--r-- | src/consts.ts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/consts.ts b/src/consts.ts index f97cbd1..81d8f87 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -1,7 +1,14 @@ -export const COLORS = ["red", "green", "blue", "orange", "pink", "white", "cyan"]; +/** Colors of balls */ +export const COLORS = ["red", "green", "blue", "orange", "#ff009d", "white", "cyan"]; +/** Number of {@linkcode Ball} generated each turn */ export const START_NO_OF_BALLS = 3; +/** Height of map */ export const MAP_HEIGHT = 9; +/** Width of map */ export const MAP_WIDTH = 9; +/** Size of html td element */ export const TD_SIZE = "50px"; +/** Size of div that renders like a ball */ export const CIRCLE_SIZE = "35px"; -export const DELETE_FROM_BALLS = 3; +/** How many {@linkcode Ball} there have to be in row to delete it */ +export const DELETE_FROM_BALLS = 5; |
