fix: keep only project subdirectory files

This commit is contained in:
2026-03-05 17:22:34 +01:00
commit 0e1cb7cfe9
8 changed files with 959 additions and 0 deletions

25
public/index.html Normal file
View File

@@ -0,0 +1,25 @@
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Tetris Web</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<main>
<h1>Tetris</h1>
<div class="wrap">
<canvas id="game" width="300" height="600"></canvas>
<aside>
<p><b>Score:</b> <span id="score">0</span></p>
<p><b>Level:</b> <span id="level">1</span></p>
<p><b>Lines:</b> <span id="lines">0</span></p>
<p class="hint">Steuerung: ← → bewegen, ↑ drehen, ↓ soft drop, Leertaste hard drop, P Pause</p>
<button id="restart">Neustart</button>
</aside>
</div>
</main>
<script src="app.js"></script>
</body>
</html>