42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<!-- Headless probe page for the CommsPanel interaction test (dev only —
|
|
not part of the game build). See comms-click.mjs. -->
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<base href="../" />
|
|
<title>orbit — comms click test</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<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/comms-click.mjs"></script>
|
|
</body>
|
|
</html>
|