Commit Graph
2 Commits
Author SHA1 Message Date
jcoffey-dev e615726615 Give it a container and a page of its own
A Dockerfile that builds the bundle and serves it from nginx, matching the
three games already on the site, and the metadata a page needs when it is
somewhere rather than on a laptop: canonical, Open Graph, the two JSON-LD
blocks, and a noscript that describes the game rather than showing an empty
div to anybody who does not run scripts.

No dev proxy, unlike its siblings. They post scores to a shared service and
this one has nothing to post: a game of Diplomacy is not a number, and a
leaderboard reading "reached eleven centres" would be a worse thing to know
about somebody than nothing at all.

The favicon is seven powers round a board in the seven colours the map uses,
with the one supply centre in the middle they are all looking at -- drawn
here rather than drafted in a tool, like every other mark in this
repository.

And a way back out, absolute rather than "/": this is served from a
subdirectory in production and from the root in development, so the relative
answer is right in one of those and points at the game itself in the other.
2026-09-09 12:00:51 -07:00
jcoffey-dev c5cd0a6351 The board, and what this game is going to be
Seventy-five provinces as two graphs, because an army and a fleet do not move
on the same one, and three provinces whose two coasts do not connect.

The topology is a fact about a published game and free to use; the artwork is
not, and there is none here -- the map will be generated from this data the
way the cave game's dodecahedron is. The name is a working one for the same
reason the starship game is not called what you expect.

The tests check the board against itself, and symmetry is the one that pays:
it found the Skagerrak wired to the Baltic, which would have opened a back
door into the Baltic and made Denmark worth nothing.
2026-09-09 00:13:30 -07:00