code.pablomurad.com

emchess

Browser chess with emoji pieces against Stockfish, no server needed

index.html raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
    <meta name="color-scheme" content="light" />
    <meta name="theme-color" content="#f5f1e6" />

    <title>Emchess — a quiet game of chess</title>
    <meta
      name="description"
      content="A small, quiet chess game with emoji pieces. Play a good computer opponent right in your browser — no accounts, no ads, no tracking."
    />
    <meta name="author" content="Pablo Murad" />
    <meta name="robots" content="index, follow" />

    <link rel="icon" href="./icon.svg" type="image/svg+xml" />
    <link rel="apple-touch-icon" href="./icon.svg" />
    <link rel="manifest" href="./manifest.webmanifest" />

    <meta property="og:type" content="website" />
    <meta property="og:site_name" content="Emchess" />
    <meta property="og:title" content="Emchess — a quiet game of chess" />
    <meta
      property="og:description"
      content="A small, quiet chess game with emoji pieces. No accounts, no ads, no tracking."
    />
    <meta property="og:image" content="./og.svg" />
    <meta property="og:locale" content="en" />

    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:title" content="Emchess — a quiet game of chess" />
    <meta name="twitter:description" content="A small, quiet chess game with emoji pieces." />
    <meta name="twitter:image" content="./og.svg" />

    <script type="application/ld+json">
      {
        "@context": "https://schema.org",
        "@type": "WebApplication",
        "name": "Emchess",
        "applicationCategory": "GameApplication",
        "operatingSystem": "Any modern web browser",
        "description": "A small, quiet chess game with emoji pieces. Play a good computer opponent in your browser — no accounts, no ads, no tracking.",
        "browserRequirements": "Requires JavaScript and WebAssembly.",
        "isAccessibleForFree": true,
        "offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" },
        "author": { "@type": "Person", "name": "Pablo Murad", "email": "pablomurad@pm.me" }
      }
    </script>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>