From 43ee0d91501518fb69f04dd689aab495c7e19078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sat, 25 Jul 2026 00:08:08 +0300 Subject: [PATCH] enlarged font for panel titles --- src/constants.js | 1 + src/main.js | 6 +++--- src/panel.js | 10 ++++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/constants.js b/src/constants.js index 669f748..b6d3672 100644 --- a/src/constants.js +++ b/src/constants.js @@ -122,6 +122,7 @@ export const PLAYER_STARTING_TOOLS = [ export const PANEL_WIDTH = 400; export const PANEL_HEIGHT = 300; export const PANEL_FONT_SIZE = 10; +export const PANEL_TITLE_FONT_SIZE = 16; export const PANEL_BG_COLOR = '#666'; export const PANEL_BORDER_COLOR = '#333'; diff --git a/src/main.js b/src/main.js index c675b8e..9aa1fc8 100644 --- a/src/main.js +++ b/src/main.js @@ -817,10 +817,10 @@ function drawMarketPanel() { drawPanelTitle(framebuffer, 'MARKET'); const humanPlayer = players.find(p => !p.ai); - drawPanelText(framebuffer, `Score: ${score}`, 160, 90, 'yellow'); + drawPanelText(framebuffer, `Score: ${score}`, 160, 100, 'yellow'); const marketItems = Object.keys(MARKET_ITEMS); - const y = 110; + const y = 120; const maxVisible = 8; for (let i=0; i b.wins - a.wins || b.kills - a.kills); for (let i=0; i