its-poly-cube-game / index.html
Mike0021's picture
Publish Kimi K3 game reconstruction
7236faa verified
Raw
History Blame Contribute Delete
2.03 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SLACK — a monochrome tether climb</title>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: #000;
overflow: hidden;
cursor: none;
}
#app {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: #000;
}
/* 4:3 stage, letterboxed to fit window */
#stage {
position: relative;
background: #000;
}
#game-canvas {
display: block;
width: 100%;
height: 100%;
image-rendering: pixelated;
}
#boot {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 14px;
color: #d8d8d8;
font-family: 'Courier New', monospace;
background: #050505;
z-index: 10;
user-select: none;
}
#boot h1 {
font-size: 28px;
letter-spacing: 10px;
margin: 0;
font-weight: 400;
}
#boot p {
font-size: 12px;
letter-spacing: 3px;
opacity: 0.65;
margin: 0;
}
#boot .hint { font-size: 11px; opacity: 0.45; letter-spacing: 2px; }
#boot.hidden { display: none; }
</style>
<script type="module" crossorigin src="./assets/index-TEaoTxzn.js"></script>
</head>
<body>
<div id="app">
<div id="stage">
<canvas id="game-canvas"></canvas>
<div id="boot">
<h1>SLACK</h1>
<p>CLICK TO TAKE HOLD</p>
<p class="hint">WASD MOVE &nbsp;·&nbsp; MOUSE LOOK &nbsp;·&nbsp; HOLD LMB TETHER &nbsp;·&nbsp; RMB WEB &nbsp;·&nbsp; SPACE JUMP</p>
</div>
</div>
</div>
</body>
</html>