-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (23 loc) · 730 Bytes
/
Copy pathindex.html
File metadata and controls
27 lines (23 loc) · 730 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 name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
canvas {
border: 5px solid #d3d3d3;
background-color: #f1a1f1;
}
</style>
</head>
<body onload = "startGame()" >
<p>We have created a game area! (or at least an empty canvas)</p>
<!--
<button onmousedown="moveUp()" onmouseup="stopMove()">Go uppers</button>
<button onmousedown="moveDown()" onmouseup="stopMove()">get down boi</button>
<button onmousedown = "moveLeft()" onmouseup="stopMove()">Slide to the left</button>
<button onmousedown = "moveRight()" onmouseup="stopMove()">get to de choppa on de right</button>
-->
<p onload="print()"></p>
<script src = "scripts/boxgame.js"> </script>
</body>
</html>