fix: keep only project subdirectory files
This commit is contained in:
25
public/index.html
Normal file
25
public/index.html
Normal 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>
|
||||
Reference in New Issue
Block a user