-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (74 loc) · 3.96 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
<!DOCTYPE html>
<html class="no-debug">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-title" content="Tetris 2023">
<title>Tetris 2023</title>
<link rel="stylesheet" type="text/css" href="style.css">
<!-- favicon -->
<link rel="apple-touch-icon" sizes="57x57" href="img/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="img/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="img/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="img/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="img/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="img/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="img/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="img/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="img/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon/favicon-16x16.png">
<link rel="manifest" href="img/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="img/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div id="game-container">
<div id="game-board">
<!-- Add your Tetris game elements here -->
</div>
<div id="score" class="board-overlay">
<div class="current-score" id="current-score-display">0</div>
<div class="high-score" id="high-score-display">0</div>
</div>
<div id="game-over" class="board-overlay">
<span class="label">Game Over</span>
</div>
</div>
<div id="gutter" class="terrible hack"></div>
<div id="controls">
<button id="start-button" class="start button" tabindex="-1">New Game</button>
<button id="pause-button" class="pause button" tabindex="-1">
<span class="label">Pause</span>
</button>
<button id="debug-button" class="button" tabindex="-1">
<span class="label">Debug</span>
</button>
<button id="drop-button" class="drop button" tabindex="-1">Drop</button>
<button id="automate-button" class="automate-button button" tabindex="-1">
<span class="label">Auto</span>
</button>
<div class="algorithm-choice">
<input checked="checked" type="radio" id="convoluted-neural-network" name="algorithm-choice" value="HTML">
<label for="convoluted-neural-network"><abbr title="Convolutional Neural Network trained to approximate a reward function.">Convolutional</abbr></label>
</input><br>
<input disabled="disabled" type="radio" id="css" name="algorithm-choice" value="CSS">
<label for="css"><abbr title="Allowed to play a large number of games and learn from its mistakes / successes.">Reinforcement</abbr></label>
</input>
<input disabled="disabled" type="radio" id="javascript" name="algorithm-choice" value="JavaScript">
<label for="javascript"><abbr title="Old-school algorithm that evaluates possible plays and chooses the best one; coefficients optimalised by genetic algorithm">Genetic</abbr></label>
</input>
</div>
</div>
<div id="console"></div>
<footer>
<a href="https://github.com/rdancer/Tetris-2023">View on GitHub</a>
</footer>
<script src="touch.js"></script>
<script src="autopilot.js"></script>
<script src="script.js"></script>
</body>
</html>