25 lines
867 B
HTML
25 lines
867 B
HTML
<!doctype html>
|
||
<html lang="ru">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title>Contra-style Shooter</title>
|
||
<link rel="stylesheet" href="style.css">
|
||
</head>
|
||
<body>
|
||
<div id="game-container">
|
||
<canvas id="game"></canvas>
|
||
<div id="ui">
|
||
<div id="health">HP: <span id="hp">100</span>/<span id="maxhp">100</span></div>
|
||
<div id="weapon">Оружие: <span id="wpn">Пистолет</span></div>
|
||
<div id="wave">Волна: <span id="wave-num">1</span> (<span id="wprogress">5/5</span>)</div>
|
||
<div id="score">Счёт: <span id="scr">0</span></div>
|
||
</div>
|
||
<button id="pause-btn" onclick="togglePause()">⏸ Пауза</button>
|
||
<div id="controls-hint">
|
||
← → — бег | ↑ — прыжок | Z — стрельба | X — сменить оружие
|
||
</div>
|
||
</div>
|
||
<script src="script.js"></script>
|
||
</body>
|
||
</html>
|