34307-vm/game.php
2025-10-01 21:58:29 +00:00

37 lines
1.1 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pocket 5 Soccer</title>
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
<style>
body { margin: 0; overflow: hidden; }
canvas { display: block; }
</style>
</head>
<body>
<div id="scoreboard">
<span id="red-score">0</span> - <span id="blue-score">0</span>
</div>
<div id="timer">30</div>
<div id="game-over-modal" style="display: none;">
<div id="game-over-content">
<h2>Game Over</h2>
<p id="final-score"></p>
<p id="winner"></p>
<button id="restart-button">Restart Game</button>
</div>
</div>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three@0.163.0/build/three.module.js",
"three/addons/": "https://unpkg.com/three@0.163.0/examples/jsm/"
}
}
</script>
<script type="module" src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>