Files
world-conquest/index.html
T
jcoffey-dev 813699b549 Point the social preview at the site's card
The image lives with the deployment in games.jcoffey.dev, as the other
games' cards do; this adds og:image and a large Twitter card for it.
2026-09-17 23:29:03 -07:00

138 lines
5.7 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>World Conquest — the classic game of world domination, in your browser</title>
<meta
name="description"
content="Forty-two territories, six continents and the dice. You against five computer players, reinforcing, attacking and trading cards until one of you holds the whole world. Free, no account, nothing to install."
/>
<meta name="author" content="John Coffey" />
<!--
Canonical, because the container serving this falls back to index.html
for any path under /conquest/ rather than returning a 404. That is right
for the app and wrong for a crawler, which would otherwise be free to
index /conquest/anything-at-all as a separate page with identical content.
-->
<link rel="canonical" href="https://games.jcoffey.dev/conquest/" />
<meta name="robots" content="index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="theme-color" content="#1b2437" />
<meta property="og:site_name" content="Games · jcoffey.dev" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="World Conquest — the classic game of world domination, in your browser" />
<meta property="og:url" content="https://games.jcoffey.dev/conquest/" />
<meta
property="og:description"
content="Forty-two territories, six armies and the dice. You against five, until one of you holds the world."
/>
<!--
The preview image is served by the site rather than carried here.
Everything in this repository is generated in code -- there is no artwork
file and there is not going to be one -- and a social card is not part of
the game. It sits with the deployment, which is also where the canonical
URL above points, so the two agree about which site this is.
-->
<meta property="og:image" content="https://games.jcoffey.dev/img/conquest-social.png?v=2026-09-17a" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta
property="og:image:alt"
content="World Conquest: a world split between six colors, and three red dice against two white"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="World Conquest — the classic game of world domination, in your browser" />
<meta
name="twitter:description"
content="Forty-two territories, six armies and the dice. You against five, until one of you holds the world."
/>
<meta name="twitter:image" content="https://games.jcoffey.dev/img/conquest-social.png?v=2026-09-17a" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "VideoGame",
"name": "World Conquest",
"url": "https://games.jcoffey.dev/conquest/",
"description": "A browser rebuild of the classic game of world domination. Forty-two territories in six continents, dice for every battle, and cards that trade in for ever larger armies. One human against five computer players that reinforce, attack and fortify by the exact odds.",
"genre": ["Strategy", "Board game", "Turn-based"],
"gamePlatform": "Web browser",
"applicationCategory": "GameApplication",
"operatingSystem": "Any modern web browser",
"playMode": "SinglePlayer",
"numberOfPlayers": {
"@type": "QuantitativeValue",
"value": 1
},
"author": {
"@type": "Person",
"name": "John Coffey",
"url": "https://jcoffey.dev/"
},
"license": "https://www.gnu.org/licenses/agpl-3.0.html",
"isAccessibleForFree": true,
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
},
"inLanguage": "en"
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "John Coffey",
"item": "https://jcoffey.dev/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Games",
"item": "https://games.jcoffey.dev/"
},
{
"@type": "ListItem",
"position": 3,
"name": "World Conquest",
"item": "https://games.jcoffey.dev/conquest/"
}
]
}
</script>
</head>
<body>
<div id="root"></div>
<!--
What the page says before React has said anything. A crawler that does
not run scripts, and a reader who has them turned off, both get the game
described and a way onwards rather than an empty div.
-->
<noscript>
<h1>World Conquest</h1>
<p>
Forty-two territories in six continents, dealt out at random. Reinforce,
attack with the dice, trade in cards for armies, and hold whole
continents for more. You play one army against five computer players,
until one of you holds the world. It needs JavaScript to play.
</p>
<p><a href="https://games.jcoffey.dev/">The rest of the games</a></p>
<p><a href="https://github.com/jcoffey-dev/world-conquest">Source, AGPL-3.0-or-later</a></p>
</noscript>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>