Files
ebitengine-tools/web/index.html
2026-01-30 15:51:50 +01:00

16 lines
318 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Ebitengine Game</title>
</head>
<body>
<script src="wasm_exec.js"></script>
<script>
const go = new Go();
WebAssembly.instantiateStreaming(fetch("game.wasm"), go.importObject)
.then(r => go.run(r.instance));
</script>
</body>
</html>