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
@@ -0,0 +1,60 @@
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Risk: The Lord of the Rings · The Game Shelves</title>
<meta name="description" content="Risk: The Lord of the Rings in The Game Shelves">
<meta property="og:title" content="Risk: The Lord of the Rings · The Game Shelves">
<meta property="og:image" content="../art/4324-26859.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/4324" rel="noopener">view on BGG ↗</a></p>
<h1>Risk: The Lord of the Rings <span class="meta">(2002)</span></h1>
<div class="detail">
<div class="art"><img src="../art/4324-26859.jpg" alt="box art for Risk: The Lord of the Rings"></div>
<div class="facts"><div class="factrow"><b>players</b> 24 players (best at 4)</div><div class="factrow"><b>playing time</b> 120 min</div><div class="factrow"><b>ages</b> 9+</div><div class="factrow"><b>weight</b> 2.27 / 5</div><div class="factrow"><b>BGG rank</b> 5594</div><div class="factrow"><b>BGG rating</b> 5.95</div><div class="factrow"><b>designers</b> <span class="chip">Stephen Baker</span> <span class="chip">Jean-René Vernes</span> <span class="chip">Barry Yearsley</span></div><div class="factrow"><b>publishers</b> <span class="chip">Hasbro</span> <span class="chip">Parker Brothers</span> <span class="chip">Winning Moves Germany</span> <span class="chip">Winning Moves UK Ltd.</span></div><div class="factrow"><b>categories</b> <span class="chip">Adventure</span> <span class="chip">Fantasy</span> <span class="chip">Movies / TV / Radio theme</span> <span class="chip">Novel-based</span> <span class="chip">Territory Building</span> <span class="chip">Wargame</span></div><div class="factrow"><b>mechanics</b> <span class="chip">Area Majority / Influence</span> <span class="chip">Area Movement</span> <span class="chip">Campaign / Battle Card Driven</span> <span class="chip">Dice Rolling</span></div></div>
</div>
<div class="card"><div class="factrow"><b>my copy</b> English edition 2002 · 2002</div><div class="factrow"><b>publishers</b> <span class="chip">Hasbro</span> <span class="chip">Parker Brothers</span></div><div class="factrow"><b>languages</b> <span class="chip">English</span></div></div>
<div class="card desc">A Lord-of-the-Rings-themed version of Risk, with the following differences:
The map is of Middle Earth, and the tokens represent armies of that fictional world.
(Note that in this &quot;Two Towers edition&quot;, the first version of the game, the map is incomplete, unless you own the expansion. For the newer version with complete map, see the reimplementation of this, the &quot;trilogy edition&quot;.)
You play either good or evil.
Leaders, missions and sites of power have been added.
The One Ring acts as a timing mechanism, when it leaves the board, the game ends.
Components for this &quot;Two Towers edition&quot;:
(&quot;trilogy edition&quot; has 90 per army)
40 Elven Archers/Orcs
12 Riders of Rohan/Dark Riders
6 Eagles/Cave Trolls
2 shields per color
Gameboard
4 Complete armies in different colors: (60 per color)
42 Territory Cards (9 Good, 9 Evil, 24 Neutral)
2 Wild Cards
40 Adventure Cards
The One Ring
3 Red Dice
2 Black Dice</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>