-
Notifications
You must be signed in to change notification settings - Fork 1
/
game.html
37 lines (35 loc) · 1.34 KB
/
game.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Peace Pal</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.dom.min.js"></script>
<!-- <script src="p5/p5.js"></script>
<script src="p5/p5.min.js"></script> -->
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="left-container">
<div id="instruction-container"></div>
<div class="picker-slider-container">
<p id="picker-label">Color picker</p>
<p id="slider-label">Weight slider</p>
<!-- <div class="hider"></div> -->
</div>
<div class="btn" id="game-btn" onclick="clickBtn()">
go to the next step
</div>
<div class="btn" id="restart-btn" onclick="window.location.reload()">
restart the visualisation
</div>
</div>
<div id="canvas-container"></div>
<script src="constants.js"></script>
<script src="ball.js"></script>
<script src="main.js"></script>
<!-- when main.js is linked, alignment shifts and the landing div takes up only ca 80% and is justified left ?! -->
</body>
</html>