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
+35
View File
@@ -0,0 +1,35 @@
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Royals · The Game Shelves</title>
<meta name="description" content="Royals in The Game Shelves">
<meta property="og:title" content="Royals · The Game Shelves">
<meta property="og:image" content="../art/165986.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/165986" rel="noopener">view on BGG ↗</a></p>
<h1>Royals <span class="meta">(2014)</span></h1>
<div class="detail">
<div class="art"><img src="../art/165986.jpg" alt="box art for Royals"></div>
<div class="facts"><div class="factrow"><b>players</b> 25 players (best at 4, 5)</div><div class="factrow"><b>playing time</b> 60 min</div><div class="factrow"><b>ages</b> 10+</div><div class="factrow"><b>weight</b> 2.24 / 5</div><div class="factrow"><b>BGG rank</b> 1534</div><div class="factrow"><b>BGG rating</b> 7.18</div><div class="factrow"><b>designers</b> <span class="chip">Peter Hawes</span></div><div class="factrow"><b>artists</b> <span class="chip">Jason Engle</span> <span class="chip">Michael Menzel</span></div><div class="factrow"><b>publishers</b> <span class="chip">ABACUSSPIELE</span> <span class="chip">Arcane Wonders</span> <span class="chip">Broadway Toys LTD</span> <span class="chip">Dice Tower Essentials</span></div><div class="factrow"><b>mechanics</b> <span class="chip">Area Majority / Influence</span> <span class="chip">Open Drafting</span> <span class="chip">Set Collection</span></div></div>
</div>
<div class="card desc">In Royals, players take on the roles of the great noble houses of the 17th century, fighting for supremacy in Europe at that time. With the help of the right country cards, they occupy influential positions and obtain bonuses for this in the form of victory points. The higher the rank of the title associated with the position, the more country cards required. Already-occupied positions can be contested by playing intrigue cards.
The game proceeds over three periods, with a scoring taking place after each of them. During scoring, the players with the greatest influence in each of the four countries score victory points. After the third period scoring, the game ends with the scoring of the individual titles. The player with the most victory points wins.</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>