-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
37 lines (35 loc) · 1.34 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="css/style.css" />
<title>Tetris</title>
</head>
<body>
<div class="container">
<div class="grid"></div>
<div class="stats d-flex flex-column justify-content-center align-items-center">
<h3>Score</h3>
<h1><span id="score">0</span></h1>
<h3 id="game-over"></h3>
<button type="button" class="btn btn-light p-3 mb-3" id="start-button">Start/Pause</button>
<div class="d-flex">
<button type="button" class="btn btn-light" id="left-button">Left</button>
<button type="button" class="btn btn-light" id="right-button">Right</button>
</div>
<div class="d-flex">
<button type="button" class="btn btn-light" id="down-button">Down</button>
<button type="button" class="btn btn-light" id="rotate-button">Rotate</button>
</div>
</div>
</div>
<script src="js/tetris.js" type="text/javascript"></script>
</body>
</html>