-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
80 lines (78 loc) · 2.94 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
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
<!doctype html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Super Billiard Extreme Gold Edition</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
<link rel="icon" type="image/png" href="img/Logo01_196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="img/Logo01_128x128.png" sizes="128x128" />
<link rel="icon" type="image/png" href="img/Logo01_96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="img/Logo01_32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="img/Logo01_16x16.png" sizes="16x16" />
<script src="js/utils.js"></script>
<script src="js/Vector.js"></script>
<script src="js/audio.js"></script>
<script src="js/Ball.js"></script>
<script src="js/Table.js"></script>
<script src="js/Game.js"></script>
<script src="js/Cue.js"></script>
<script src="js/script.js"></script>
</head>
<body onload="onload()">
<div class="header-cont">
<h1>Super Billiard Extreme Gold Edition</h1>
<nav id="main-nav">
<ul>
<li><a href="index.html">Startpage</a></li>
<li><span>Game</span></li>
<li><a href="help.html">Help</a></li>
<li><a href="score.html">Score</a></li>
<li><a href="impressum.html">Impressum</a></li>
</ul>
</nav>
</div>
<div class="site-cont">
<!-- Größe von der Aufgabenstellung vorgegeben -->
<div id="canvas-container">
<canvas id="table-canvas" width="640" height="480"></canvas>
<canvas id="ball-canvas" width="640" height="480"></canvas>
<canvas id="cue-canvas" width="640" height="480"></canvas>
<img id="nono_sucking_gif" src="img/nono_sucking.gif" alt="Vacuum cleaner rolling eyes"> <!-- https://www.youtube.com/watch?v=kLGJGiDqHmU -->
<div id="after-game-block">
<span id="after-game-header">Platzhalter!</span>
<div id="after-game-content">
<div><span class="new-game">New Game</span></div>
<div><input id="playername" placeholder="Name"><span id="send">Speichern</span></div>
<div><span id="scores">Scores</span></div>
</div>
</div>
</div>
<div id="bottom-controls">
<div id="control-music" class="unmute" onclick="toggleMusic(); toggleClass();"></div>
<div id="pause"></div>
</div>
<div>
<span id="start-new-game" class="new-game">Start a new game</span>
</div>
</div>
<div class="footer-cont">
<footer>
<div id="footer-links">
<a href="index.html">Startpage</a>
<span>Game</span>
<a href="help.html">Help</a>
<a href="score.html">Score</a>
<a href="impressum.html">Impressum</a>
</div>
</footer>
</div>
<audio id="music" src="audio/MusicVol02.wav" loop></audio>
<audio id="nono_sucking_audio" src="audio/nono_sucking.mp3"></audio> <!-- https://www.youtube.com/watch?v=kLGJGiDqHmU -->
<audio id="click_audio">
<source src="audio/click.flac" type="audio/flac">
<source src="audio/click.ogg" type="audio/ogg">
<source src="audio/click.mp3" type="audio/mp3">
</audio>
<img id="cue-img" class="hidden" src="img/Koe.png" alt="Cue">
</body>
</html>