| 1 | <!doctype html> |
| 2 | <html lang="en-us"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> |
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 7 | <title>V Asteroids</title> |
| 8 | </head> |
| 9 | <body> |
| 10 | <h1>V Asteroids demo</h1> |
| 11 | <canvas id="canvas" oncontextmenu="event.preventDefault()" tabindex="-1" width="800" height="600"></canvas> |
| 12 | <script type="text/javascript"> |
| 13 | var canvasElement = document.getElementById('canvas'); |
| 14 | var Module = { |
| 15 | print(...args) { console.log(...args); }, |
| 16 | }; |
| 17 | </script> |
| 18 | <script src="asteroids.js"></script> |
| 19 | </body> |
| 20 | </html> |
| 21 | |