game-platform/index.html
2025-08-14 16:40:37 +02:00

32 lines
766 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Game</title>
<link rel="icon" type="image/png" href="assets/player.png" />
<script type="module" src="game.js" defer></script>
<style>
* {
box-sizing: border-box;
color-scheme: light dark;
}
body {
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
#game {
background-color: black;
}
</style>
</head>
<body>
<canvas id="game" width="480" height="360"></canvas>
<script></script>
</body>
</html>