-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
84 lines (78 loc) · 2.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/style.css">
<title>Tetris Spheres</title>
<!-- P5.js -->
<script src="fake-cdn/p5.min.js"></script>
<!-- <script src="fake-cdn/addons/p5.dom.min.js"></script> -->
<!-- <script src="fake-cdn/addons/p5.sound.min.js"></script> -->
<!-- P5.js: CDN -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.0.0/p5.js"></script> -->
<script src="js/AudioPlayer.js"></script>
<script src="js/Timer.js"></script>
<script src="js/GameField.js"></script>
<script src="js/GameState.js"></script>
<script src="js/Block.js"></script>
<script src="js/game.js"></script>
<script src="js/keyboardListener.js"></script>
<script src="js/index.js"></script>
</head>
<body>
<video muted loop id="myVideo" class="visibility-hidden">
<source src="video/background-particles.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
<div class="container black-background">
<!-- TITLE SECTION: -->
<div class="header-section">
<h1 class="page-title">TETRIS SPHERES</h1>
<p class="subtitle">by dcts</p>
<!-- INTRO SECTION -->
<div id="play-button" class="flex justify-center align-center invisible">
<div class="inner">PLAY</div>
</div>
</div>
<!-- GAME SECTION -->
<div class="game-section visibility-hidden">
<!-- control left -->
<div id="menu-left" class="menu-section">
<div class="card brick-card">
<p></p>
<!-- <p>SAVED</p> -->
<!-- <img id="inject-saved" src="/img/assets/I.svg" width="30" alt=""> -->
</div>
<div>
<div class="control-element">
<p class="title">PARTICLES BY</p>
<p class="content">Edan<br>Kwan</p>
</div>
<br>
<div class="control-element">
<p class="title">MUSIC</p>
<p class="content">Tobias<br>Herzog</p>
</div>
</div>
</div>
<!-- game canvas-->
<div id="game-canvas" class="bounce-5">
</div>
<!-- control right -->
<div id="menu-right" class="menu-section">
<div class="card brick-card">
<p>NEXT</p>
</div>
<div class="control-element">
<p class="title">TIME</p>
<p id="inject-time" class="content">00:00.00</p>
<p class="title">SCORE</p>
<p id="inject-score" class="content">0</p>
<!-- <p class="title">HIGHSCORE</p>
<p class="content">314'230</p> -->
</div>
</div>
</div>
</div>
</body>
</html>