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
+37
View File
@@ -0,0 +1,37 @@
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Onitama · The Game Shelves</title>
<meta name="description" content="Onitama in The Game Shelves">
<meta property="og:title" content="Onitama · The Game Shelves">
<meta property="og:image" content="../art/160477.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/160477" rel="noopener">view on BGG ↗</a></p>
<h1>Onitama <span class="meta">(2014)</span></h1>
<div class="detail">
<div class="art"><img src="../art/160477.jpg" alt="box art for Onitama"></div>
<div class="facts"><div class="factrow"><b>players</b> 2 players (best at 2)</div><div class="factrow"><b>playing time</b> 1520 min</div><div class="factrow"><b>ages</b> 10+</div><div class="factrow"><b>weight</b> 1.66 / 5</div><div class="factrow"><b>BGG rank</b> 362</div><div class="factrow"><b>BGG rating</b> 7.33</div><div class="factrow"><b>designers</b> <span class="chip">Shimpei Sato</span></div><div class="factrow"><b>artists</b> <span class="chip">Jun Kondo</span> <span class="chip">Mariusz Szmerdt</span></div><div class="factrow"><b>publishers</b> <span class="chip">Arcane Wonders</span> <span class="chip">conception</span> <span class="chip">Dice Tower Essentials</span> <span class="chip">Igiari</span> <span class="chip">Maldito Games</span> <span class="chip">Pegasus Spiele</span></div><div class="factrow"><b>categories</b> <span class="chip">Abstract Strategy</span></div><div class="factrow"><b>mechanics</b> <span class="chip">Grid Movement</span> <span class="chip">Hand Management</span> <span class="chip">Pattern Movement</span> <span class="chip">Square Grid</span> <span class="chip">Static Capture</span></div></div>
</div>
<div class="card desc">Onitama is a two-player, perfect information abstract game with a random starting set-up. On a 5x5 board, both players start with five pawns on their side, with the main pawn in the middle.
Each player has two open cards that each display a possible move for any of her pieces. There is a fifth card that cannot be used by either player. On a player&#x27;s turn, she chooses one of her cards, moves one of her pieces according to the chosen card, then replaces the card she used with the fifth card. The other player then chooses one of his cards, moves accordingly, and exchanges that card with this fifth card — which is, of course, the card the first player just used.
Moving onto one of the opponent&#x27;s pawns removes that pawn from the game. Taking the opponent&#x27;s main pawn, or moving your main pawn into your opponent&#x27;s main pawn&#x27;s starting space, wins you the game.</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>