orbit/dev/gate-comms.html

36 lines
1.0 KiB
HTML

<!DOCTYPE html>
<!-- Headless probe page for the GATE comm-window test (dev only —
not part of the game build). See dev/gate-comms.mjs. -->
<html>
<head>
<meta charset="utf-8" />
<base href="../" />
<title>orbit — gate comm-window test</title>
<style>
html,
body {
margin: 0;
height: 100%;
background: #04060d;
overflow: hidden;
}
#game {
display: grid;
place-items: center;
}
</style>
</head>
<body>
<div id="game"></div>
<script>
window.__BOOT_ERRORS__ = [];
window.addEventListener('error', (e) =>
window.__BOOT_ERRORS__.push(String(e.message) + ' @ ' + (e.filename || '') + ':' + e.lineno));
window.addEventListener('unhandledrejection', (e) =>
window.__BOOT_ERRORS__.push('reject: ' + ((e.reason && e.reason.stack) || e.reason)));
</script>
<script src="lib/phaser.min.js"></script>
<script type="module" src="dev/gate-comms.mjs"></script>
</body>
</html>