feat(fsharp): Fable browser platform, snake and pong pages, build-web.sh

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Lucas Winther
2026-10-29 01:04:20 +01:00
co-authored by Claude Opus 5.5
parent 527b2cd157
commit a7a4cb5b2a
8 changed files with 177 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pure Pong</title>
<link rel="icon" href="data:,">
<style>
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center;
justify-content: center; gap: 12px; background: #1b1b1b; color: #ddd; font: 14px system-ui, sans-serif; }
h1 { margin: 0; font-size: 20px; }
canvas { background: #111111; border: 2px solid #333; }
p { margin: 0; color: #999; }
</style>
</head>
<body>
<h1>Pure Pong</h1>
<canvas id="game" width="640" height="400"></canvas>
<p>Up/Down arrows (or W/S) move your paddle. First to 5 wins. R restarts.</p>
<script type="module" src="web/dist/PongMain.js"></script>
</body>
</html>