fix: dice view readability and pool builder cleanup

Remove d100 from the dice pool builder (percentile section is
unaffected). Switch die buttons, pool display, and result output
to JetBrains Mono for mechanical/numeric readability, and lay out
the pool builder buttons in a fixed 7-column grid to match the
remaining die count.
This commit is contained in:
claudecode
2026-07-01 00:29:18 -04:00
parent ec28933623
commit 40b0e21d9d
3 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
// Mythic Oracle — Dice: pool builder, custom roll, percentile, ability score
// Pure frontend — no backend calls.
const dicePool = { 4: 0, 6: 0, 8: 0, 10: 0, 12: 0, 20: 0, 100: 0, 2: 0 };
const dicePool = { 4: 0, 6: 0, 8: 0, 10: 0, 12: 0, 20: 0, 2: 0 };
const POOL_MAX = 25;
const DIE_ORDER = [4, 6, 8, 10, 12, 20, 100, 2];
const DIE_ORDER = [4, 6, 8, 10, 12, 20, 2];
function addDie(sides) {
const total = DIE_ORDER.reduce((s, d) => s + dicePool[d], 0);