La versione del gioco nell'angolo del titolo e in fondo alla pausa

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ks2K99uqCZjAxvy7Rdj1R
This commit is contained in:
2026-10-25 10:52:00 +01:00
co-authored by Claude Opus 5.5
parent acc437a33c
commit 877b29a6e3
4 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -6,7 +6,7 @@ import { render, loadAssets, hasBackground, WIDTH, HEIGHT } from './engine/rende
import { readSave, writeSave, clearSave, readAudio, writeAudio, saveFile, saveFileName, readSaveFile } from './engine/storage.js';
import { Music, trackFor } from './engine/music.js';
import { Voices } from './engine/voices.js';
import { versioned } from './version.js';
import { VERSION, versioned } from './version.js';
const $ = id => document.getElementById(id);
const canvas = $('scene'), ctx = canvas.getContext('2d');
@@ -608,6 +608,7 @@ function showSplash() {
addEventListener('keydown', end, { once: true });
}
for (const el of document.querySelectorAll('.version')) el.textContent = `v${VERSION}`;
game = new Game(story);
command = new Command(game);
showSplash();