diff options
| author | LLLL Colonq <llll@colonq> | 2026-07-21 13:53:20 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-07-21 13:53:20 -0400 |
| commit | 3ec03ba57474aa4320cb7901980b55706adbc111 (patch) | |
| tree | 97fcf8d1825cd4bdda65c4b516853dfda60f3610 /2026/submissions/threecoff/clennis/shell.html | |
| parent | 47c0d930736bb5247a7f7ba05c7d41e33038102a (diff) | |
Update
Diffstat (limited to '2026/submissions/threecoff/clennis/shell.html')
| -rw-r--r-- | 2026/submissions/threecoff/clennis/shell.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/2026/submissions/threecoff/clennis/shell.html b/2026/submissions/threecoff/clennis/shell.html new file mode 100644 index 0000000..208101c --- /dev/null +++ b/2026/submissions/threecoff/clennis/shell.html @@ -0,0 +1,32 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Clonk Tennis</title> + <style> + html, body { margin: 0; height: 100%; background: #12141d; color: #e8e8ee; + font-family: system-ui, sans-serif; } + body { display: flex; flex-direction: column; align-items: center; + justify-content: center; gap: 12px; } + canvas { background: #000; border-radius: 6px; max-width: 100%; + image-rendering: auto; outline: none; } + #status { font-size: 14px; opacity: 0.7; min-height: 18px; } + </style> +</head> +<body> + <canvas id="canvas" oncontextmenu="event.preventDefault()" tabindex="-1"></canvas> + <div id="status">Loading…</div> + <script> + var statusEl = document.getElementById('status'); + var Module = { + canvas: (function () { return document.getElementById('canvas'); })(), + print: function (t) { console.log(t); }, + printErr: function (t) { console.error(t); }, + setStatus: function (t) { if (statusEl) statusEl.textContent = t; }, + onRuntimeInitialized: function () { if (statusEl) statusEl.textContent = ''; } + }; + </script> + {{{ SCRIPT }}} +</body> +</html> |
