feat: add simcity, pacman, tetris as inline retro-game easter eggs

Generalized the doom launcher into launchGame(name) keyed by archive.org identifier; each cds into a fake .<name> folder and runs <name>.sh, same as doom.
This commit is contained in:
kgva CMS
2026-08-10 23:03:53 +00:00
parent d436474719
commit a49603890b
2 changed files with 36 additions and 22 deletions
+5 -4
View File
@@ -276,14 +276,15 @@ body:not(.home) .menu { display: none; }
}
.proj-path__seg--last { font-weight: 700; }
/* secret `doom` — runs inline as doom.sh inside a fake .doom folder, same
file-listing chrome as any other page. sized to the classic 4:3 game. */
.doom-player {
/* secret retro games (doom, simcity, pacman, tetris) — each runs inline as
<name>.sh inside a fake .<name> folder, same file-listing chrome as any
other page. sized to the classic 4:3 DOS/arcade aspect ratio. */
.game-player {
width: 100%;
aspect-ratio: 4 / 3;
background: #000;
}
.doom-player iframe {
.game-player iframe {
width: 100%;
height: 100%;
border: 0;