Add themed board game library at /mygames/

Embed the bggpipe "Game Shelves" export (static/games/) into a themed
Hugo page. A small loader (embed.js) fetches each export page, lifts out
its <main>, rewrites relative URLs, and rewires game links to ?g=<slug>
so the blog chrome stays on every page; embed.css scopes the export's
component styling to the embed. The export itself is untouched and stays
re-exportable. Adds the menu entry and excludes badges/ from deploy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Eric Wagoner
2026-08-06 19:15:26 -04:00
co-authored by Claude Opus 4.8
parent e0e08ba67d
commit f6611257b3
400 changed files with 7127 additions and 2 deletions
+34
View File
@@ -0,0 +1,34 @@
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Code Master · The Game Shelves</title>
<meta name="description" content="Code Master in The Game Shelves">
<meta property="og:title" content="Code Master · The Game Shelves">
<meta property="og:image" content="../art/42063.jpg">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎲</text></svg>">
<link rel="stylesheet" href="../style.css">
<header class="site"><a href=".././">The Game Shelves</a>
<span class="sub">a board game library</span></header>
<main>
<p><a href="../">← the whole library</a> · <a href="https://boardgamegeek.com/boardgame/42063" rel="noopener">view on BGG ↗</a></p>
<h1>Code Master <span class="meta">(1997)</span></h1>
<div class="detail">
<div class="art"><img src="../art/42063.jpg" alt="box art for Code Master"></div>
<div class="facts"><div class="factrow"><b>players</b> 16 players</div><div class="factrow"><b>playing time</b> 30 min</div><div class="factrow"><b>ages</b> 8+</div><div class="factrow"><b>BGG rating</b> 5.50</div><div class="factrow"><b>designers</b> <span class="chip">Karl Backhaus</span></div><div class="factrow"><b>artists</b> <span class="chip">(Uncredited)</span></div><div class="factrow"><b>publishers</b> <span class="chip">(Self-Published)</span></div><div class="factrow"><b>categories</b> <span class="chip">Number</span> <span class="chip">Word Game</span></div><div class="factrow"><b>mechanics</b> <span class="chip">Dice Rolling</span></div></div>
</div>
<div class="card desc">An exciting, educational and fun game for 1 to 6 players. Played in several languages.
Code Master is based on an ancient number code for letters. The aim of the game is to form words on rolled dice. Numbers corresponding to letters give an amazing array of scores. Designed to allow versatility through a rainbow of variations and options, involving skill and chance; play can be as easy or as challenging as desired.</div>
<footer>
<p><a class="pbb" href="https://boardgamegeek.com" rel="noopener"><img src="../art/powered-by-bgg.png" alt="Powered by BGG" height="40"></a></p>
<p>The Game Shelves · cataloged from shelf photos by
<a href="https://git.kestrelsnest.social/eric/bggpipe"
rel="noopener">bggpipe</a></p>
<p>Game data and cover images from <a href="https://boardgamegeek.com"
rel="noopener">BoardGameGeek</a>. BoardGameGeek and BGG are trademarks of
BoardGameGeek, LLC; this page is an independent project, not affiliated
with or endorsed by BoardGameGeek.</p>
</footer>
</main>
</html>