The collection is Kestrel's Hall
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
baab21a0a7
commit
6c42e55f59
@@ -71,9 +71,9 @@ interruptions, Wiz-War's shape, does not fit and keeps its own server.
|
|||||||
|
|
||||||
## The family
|
## The family
|
||||||
|
|
||||||
`family.json` lists every game of the Kestrel's Nest: slug, name, address,
|
`family.json` lists every game of Kestrel's Hall: slug, name, address,
|
||||||
one-line pitch, player count and origin. Each game ships a copy as
|
one-line pitch, player count and origin. Each game ships a copy as
|
||||||
`static/family.json` (the deploy script takes the kit's latest when the kit
|
`static/family.json` (the deploy script takes the kit's latest when the kit
|
||||||
is beside the game) and its about panel lists the others under *More games
|
is beside the game) and its about panel lists the others under *More games
|
||||||
at the Kestrel's Nest*. Add a game here, then deploy the games; nothing
|
in Kestrel's Hall*. Add a game here, then deploy the games; nothing
|
||||||
else needs to know.
|
else needs to know.
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"family": "the Kestrel's Nest",
|
"family": "Kestrel's Hall",
|
||||||
"games": [
|
"games": [
|
||||||
{
|
{
|
||||||
"slug": "wizwar",
|
"slug": "wizwar",
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
if (aboutOpen && !tally) api.tally().then((t) => (tally = t)).catch(() => (tally = null));
|
if (aboutOpen && !tally) api.tally().then((t) => (tally = t)).catch(() => (tally = null));
|
||||||
});
|
});
|
||||||
const hours = (minutes: number) => (minutes < 90 ? `${minutes} minutes` : `${Math.round(minutes / 60)} hours`);
|
const hours = (minutes: number) => (minutes < 90 ? `${minutes} minutes` : `${Math.round(minutes / 60)} hours`);
|
||||||
/** The other games of the Kestrel's Nest, for the about panel. */
|
/** The other games of Kestrel's Hall, for the about panel. */
|
||||||
let family = $state<FamilyGame[]>([]);
|
let family = $state<FamilyGame[]>([]);
|
||||||
$effect(() => {
|
$effect(() => {
|
||||||
void otherGames('__SLUG__').then((g) => (family = g));
|
void otherGames('__SLUG__').then((g) => (family = g));
|
||||||
@@ -283,7 +283,7 @@
|
|||||||
</p>
|
</p>
|
||||||
{/if}
|
{/if}
|
||||||
{#if family.length}
|
{#if family.length}
|
||||||
<h3>More games at the Kestrel's Nest</h3>
|
<h3>More games in Kestrel's Hall</h3>
|
||||||
<ul class="family">
|
<ul class="family">
|
||||||
{#each family as g (g.slug)}
|
{#each family as g (g.slug)}
|
||||||
<li><a href={g.url}>{g.name}</a>: {g.pitch} <span class="muted">{g.players} players; {g.origin}.</span></li>
|
<li><a href={g.url}>{g.name}</a>: {g.pitch} <span class="muted">{g.players} players; {g.origin}.</span></li>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// The other games of the Kestrel's Nest, from the family list the kit keeps
|
// The other games of Kestrel's Hall, from the family list the kit keeps
|
||||||
// (family.json, one copy shipped with every game), so a player who liked one
|
// (family.json, one copy shipped with every game), so a player who liked one
|
||||||
// table can find the next. This game is left out of its own list.
|
// table can find the next. This game is left out of its own list.
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"family": "the Kestrel's Nest",
|
"family": "Kestrel's Hall",
|
||||||
"games": [
|
"games": [
|
||||||
{
|
{
|
||||||
"slug": "wizwar",
|
"slug": "wizwar",
|
||||||
|
|||||||
Reference in New Issue
Block a user