-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (105 loc) · 1.88 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript" src="tetris_attack_real_time.js"></script>
<style>
.bloco-vazio{
background: white;
width: 26px;
height: 26px;
border: 3px black solid;
float:left;
}
.linha{
display: inline-grid;
margin:0;
}
.selecionado{
border: 3px red solid !important;
}
.yellow-block{
background: yellow !important;
width: 26px;
height: 26px;
border: 3px black solid;
float:left;
}
.red-block{
background: red !important;
width: 26px;
height: 26px;
border: 3px black solid;
float:left;
}
.green-block{
background: green !important;
width: 26px;
height: 26px;
border: 3px black solid;
float:left;
}
.purple-block{
background: purple !important;
width: 26px;
height: 26px;
border: 3px black solid;
float:left;
}
.aliceblue-block{
background: aqua !important;
width: 26px;
height: 26px;
border: 3px black solid;
float:left;
}
.blue-block{
background: blue !important;
width: 26px;
height: 26px;
border: 3px black solid;
float:left;
}
.gameover{
position: absolute;
left: 42px;
z-index: 1;
top: 111px;
font-size: 42px;
color: red;
background-color: rgba(0,0,0,0.5);
}
.gameover2{
position: absolute;
left: 46px;
z-index: 1;
top: 208px;
font-size: 42px;
color: red;
background-color: rgba(0,0,0,0.5);
}
.hidden{
display: none;
}
</style>
</head>
<body>
<div id="jogo">
</div>
<div>
<div id="score">Score:
</div>
<div id="combo">Combo:
</div>
<div id="speed">Speed:
</div>
</div>
<div class="gameover hidden">
GAME
</div>
<div class="gameover2 hidden">
OVER
</div>
<div id="fpsDisplay"></div>
</body>
</html>