Skip to content

A town simulation in pale isometric line art, implemented with Ritmo ECS and PixiJs 3D

Move the release to inkline.typeonce.games

SandroMaglionedb75605765ee
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
index 9333ab4..7ab60d9 100644
--- a/DEVELOPMENT.md
+++ b/DEVELOPMENT.md
@@ -549,9 +549,10 @@ pnpm release --profile admin --yes --no-input
Release from an up-to-date `main`. The release command checks the game's
types and simulation and the deployment config, then Alchemy builds and
-deploys the game to <https://inkline.typeonce.dev>. Alchemy attaches that
+deploys the game to <https://inkline.typeonce.games>. Alchemy attaches that
custom domain to the `prod` Worker and creates its DNS record and certificate
-in the `typeonce.dev` Cloudflare zone. Check that the game opens, save/load
+in the `typeonce.games` Cloudflare zone (the old <https://inkline.typeonce.dev>
+301s to it). Check that the game opens, save/load
works, and a shared link opens and unfurls there after each release.
`admin` is the existing local Alchemy Cloudflare profile. On another
diff --git a/README.md b/README.md
index 38aed2b..b3f5e0c 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ stands. Lay the roads, house the settlers, build the chains that feed and
clothe them, and raise a hamlet to a village, a town, and a city of
burghers. Or watch it go bankrupt, revolt, or empty out.
-<p align="center"><a href="https://inkline.typeonce.dev"><b>▶ Play Inkline Town in your browser</b></a> · free, nothing to install, saves stay on your device</p>
+<p align="center"><a href="https://inkline.typeonce.games"><b>▶ Play Inkline Town in your browser</b></a> · free, nothing to install, saves stay on your device</p>
<a href="docs/media/inkline-town.mp4">
<picture>
@@ -151,7 +151,7 @@ filling as the carts bring the materials.
## Play
-**[Play Inkline Town at inkline.typeonce.dev](https://inkline.typeonce.dev).**
+**[Play Inkline Town at inkline.typeonce.games](https://inkline.typeonce.games).**
It runs in the browser, on a computer or a phone. Saves stay in your browser,
and the town autosaves every two minutes of play. Share a picture of your
town, or a link that opens it running for anyone, who can then play on from
diff --git a/deploy/alchemy.run.ts b/deploy/alchemy.run.ts
index f9e7e5f..40f5367 100644
--- a/deploy/alchemy.run.ts
+++ b/deploy/alchemy.run.ts
@@ -8,7 +8,10 @@ import * as Effect from "effect/Effect"
const rootDir = fileURLToPath(new URL("..", import.meta.url))
// Only production claims the custom domain; previews stay on workers.dev.
-const productionDomain = "inkline.typeonce.dev"
+const productionDomain = "inkline.typeonce.games"
+
+// The old address (inkline.typeonce.dev) 301s here from a redirect
+// Worker in the typeonce-dev repository, so existing links keep working.
/** Shared towns are kept this long, so the bucket stays within the free 10 GB. */
const SHARE_DAYS = 180