-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhexagon.html
More file actions
23 lines (23 loc) · 787 Bytes
/
hexagon.html
File metadata and controls
23 lines (23 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
<title>Hexagon</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" type="text/css" href="main.css">
<style>
.visuallyhidden {
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px; width: 1px;
margin: -1px; padding: 0; border: 0;
}
</style>
</head>
<body>
<canvas id='canvas' width=480 height=600 style="background-color:white;">
</canvas>
<script src="kontra.js"></script>
<script src="hexagon.js"></script>
<div>Tap left and right side to rotate. Avoid obstacles</div>
</body>
</html>