-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (67 loc) · 1.47 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tetris</title>
<link rel="stylesheet" href="/style.css" type="text/css">
<script src="constants.js"></script>
</head>
<body>
<div id="W">W</div>
<div id="A">A</div>
<div id="D">D</div>
<div id="S">S</div>
<div id="F">F</div>
<div id="W_text">Rotate</div>
<div id="A_text">Move Left</div>
<div id="D_text">Move Right</div>
<div id="S_text">Drop</div>
<div id="F_text">Menu</div>
<canvas id="game_glass"
width="500px"
height="1000px"
style="padding:1px">
</canvas>
<canvas id="next_tetramino"
width="200px"
height="200px"
style="border:1px solid black">
</canvas>
<script src="make_net.js">
</script>
<script>
let draw = new Make_net()
draw.make_net("game_glass", field_height, field_width)
draw.make_net("next_tetramino", size_of_tetramino, size_of_tetramino)
</script>
<script src="cell.js">
</script>
<script src="keyboard_handler.js">
</script>
<script src="tetramino.js">
</script>
<script src="current_tetramino.js">
</script>
<script src="next_tetramino.js">
</script>
<script src="shadow_tetramino.js">
</script>
<script src="field.js">
</script>
<script src="score_board.js">
</script>
<script src="user.js">
</script>
<script src="game.js">
</script>
<script src="interface.js">
</script>
<div id="level"></div>
<script src="menu.js">
</script>
<script src="top.js">
</script>
<script src="main.js">
</script>
</body>
</html>