-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (24 loc) · 932 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link href="https://unpkg.com/nes.css/css/nes.css" rel="stylesheet">
<link rel="stylesheet" href="./src/css/style.css">
<title>Tetris</title>
</head>
<body id="body" class="nes-container">
<h1>Tetris</h1>
<div id="gameframe" class="nes-container is-rounded">
<canvas id="board" width="320" height="620">
Your browser doesn't support the HTML5 canvas element
</canvas>
<div class="score nes-container is-round is-centered">
<button id="start" type="button" class="nes-btn">START</button>
</div>
</div>
<script src="./dist/main.js"></script>
</body>
</html>