enlarged font for panel titles

This commit is contained in:
catarrh committed 2026-07-25 00:08:08 +03:00
1 parent cf010c2cea
commit 43ee0d9150
3 files changed
+12 -5

No files matched your search

+3 -3
View File
@@ -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<Math.min(maxVisible, marketItems.length); i++) {
@@ -878,7 +878,7 @@ function drawGameOverPanel() {
drawPanelBg(framebuffer);
drawPanelTitle(framebuffer, 'GAME OVER');
const y = 90;
const y = 100;
const sortedPlayers = [...players].sort((a, b) => b.wins - a.wins || b.kills - a.kills);
for (let i=0; i<sortedPlayers.length; i++) {