-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
154 lines (121 loc) · 4.35 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en">
<link rel="icon" href="https://branding.osk.sh/tetrio-color.png" />
<head>
<meta charset="UTF-8" />
<meta name="description" content="TETR.IO Attack Calculator" />
<meta
name="google-site-verification"
content="UMune5TMczqatVn0wQ1jAAVVe2LIdoo4I1s1FyoxZdI"
/>
<title>TETR.IO Attack Calculator</title>
<link rel="stylesheet" href="style.css" />
<!-- <script type="text/javascript">
var selected;
</script> -->
</head>
<body>
<h1>TETR.IO Attack Calculator</h1>
<p>
A fan made calculator for the TETR.IO garbage system by
<a href="https://ch.tetr.io/u/gener1c" target="_blank">Generic</a>
</p>
<h4>
<a
href="https://github.com/g3ner1c/tetrio-attack-calculator"
target="_blank"
>GitHub</a
>
<a
href="https://github.com/g3ner1c/tetrio-attack-calculator#readme"
target="_blank"
>README</a
>
<a
href="https://github.com/g3ner1c/tetrio-attack-calculator/issues/new/choose"
target="_blank"
>Suggestion/Bug?</a
>
</h4>
<button type="button" id="buttonShortcuts" onclick="buttonShortcuts()">
Keyboard Shortcuts
</button>
<table id="keyboardShortcuts">
<tbody>
<tr>
<td>K</td>
<td>Show Shortcuts</td>
</tr>
<tr>
<td>9</td>
<td>Toggle Combo</td>
</tr>
<tr>
<td>0</td>
<td>Toggle B2B</td>
</tr>
<tr>
<td>P</td>
<td>Toggle PC</td>
</tr>
<tr>
<td>←</td>
<td>Clear</td>
</tr>
<tr>
<td>⏎</td>
<td>Enter</td>
</tr>
</tbody>
</table>
<br />
<label for="attack_selected">Attack Type:</label>
<select name="attack_selected" id="attack_selected">
<option value="single">Single</option>
<option value="double">Double</option>
<option value="triple">Triple</option>
<option value="quad">Quad</option>
<option value="tsms">T-Spin Mini Single</option>
<option value="tss">T-Spin Single</option>
<option value="tsmd">T-Spin Mini Double</option>
<option value="tsd">T-Spin Double</option>
<option value="tst">T-Spin Triple</option>
</select>
<button type="button" id="button_add" onclick="buttonAdd()">+</button>
<button
type="button"
id="toggle_combo"
onclick="toggleCombo()"
></button>
<button type="button" id="toggle_B2B" onclick="toggleB2B()"></button>
<button type="button" id="button_clear" onclick="buttonClear()">
Clear
</button>
<!-- <button type="button" id="button_import">Import List</button> -->
<br />
<table id="Attack">
<thead>
<tr>
<th>#</th>
<th>Attack Type</th>
<th>Lines Sent</th>
<th>Combo</th>
<th>B2B Count</th>
<th>B2B Level</th>
<th>PC?</th>
</tr>
</thead>
<tbody id="AttackList"></tbody>
<tfoot id="AttackFoot"></tfoot>
</table>
<!-- <br>
<button type="button" id="button_export">Export list</button>
<button type="button" id="button_image">Toggle attack table</button>
<textarea id="export" name="export" rows="4" cols="50" style="display: none;"></textarea>
<textarea id="export_json" name="export_json" rows="4" cols="50" style="display: block;"></textarea>
<img src="table.png" alt="Attack table" width="50%" height="50%" id="chart" style="display: none;"> -->
<script src="script.js"></script>
</body>
</html>