tak-v-obschem-ty-razrabotchi/index.html

25 lines
871 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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