Skip to content

Commit 17e2494

Browse files
committed
Build b92e386
1 parent a4c705b commit 17e2494

3 files changed

Lines changed: 582 additions & 37 deletions

File tree

index.html

Lines changed: 7 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,8 @@
11
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>River Raid</title>
7-
<link href="https://fonts.cdnfonts.com/css/zx-spectrum-7" rel="stylesheet">
8-
<style>
9-
* {
10-
margin: 0;
11-
padding: 0;
12-
box-sizing: border-box;
13-
}
14-
15-
html, body {
16-
height: 100%;
17-
background: #000;
18-
}
19-
20-
body {
21-
display: flex;
22-
align-items: center;
23-
justify-content: center;
24-
}
25-
26-
.text {
27-
color: #c5c5c5;
28-
font-family: 'ZX Spectrum-7', monospace;
29-
font-size: 18vw;
30-
text-align: center;
31-
white-space: nowrap;
32-
}
33-
</style>
34-
</head>
35-
<body>
36-
<div class="text">COMING SOON</div>
37-
</body>
38-
</html>
2+
<script src="wasm_exec.js"></script>
3+
<script>
4+
const go = new Go();
5+
WebAssembly.instantiateStreaming(fetch("river-raid.wasm"), go.importObject).then(result => {
6+
go.run(result.instance);
7+
});
8+
</script>

river-raid.wasm

10.6 MB
Binary file not shown.

0 commit comments

Comments
 (0)