added the temporary webgame collection

This commit is contained in:
sageTheDM 2025-01-04 15:53:31 +01:00
parent 4ab6684a3c
commit e3aa23a82a
18 changed files with 823 additions and 70 deletions

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Asteroid Shooter</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<canvas id="gameCanvas"></canvas>
<!-- Virtual buttons for mobile -->
<div class="controls">
<button id="leftBtn" class="control-btn">Left</button>
<button id="shootBtn" class="control-btn" onclick="btnShoot()">Shoot</button>
<button id="rightBtn" class="control-btn">Right</button>
</div>
<script src="game.js"></script>
</body>
</html>