-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (26 loc) · 964 Bytes
/
index.html
File metadata and controls
27 lines (26 loc) · 964 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>The rotation game</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<container class="title">
<h1>The rotation game</h1>
<container class="gameScreen">
<canvas id="rotationCanvas" width="700" height="500" tabindex="1"></canvas>
</container>
<container class="settings">
<button type="button" id="start" onclick="startGame();">Start game!</button>
</container>
<container class="score">
<p id="scoreShower">Score: 0.00</p>
<p id="highScoreShower">High score: 0.00</p>
</container>
<container class="info">
<p>Grab the "Väkänen" with the mouse and swing it. Try to rotate it as far as you can with one swing!</p>
</container>
</body>
<script src="js/game.js"></script>
</html>