forked from APCSLowell/AsteroidsGame
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
26 lines (26 loc) · 808 Bytes
/
index.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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Asteroid Part 1</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="styles.css">
<script src="processing.js"></script>
</head>
<body>
<header>
<h1>Spaceship</h1>
</header>
<section id="content">
<canvas id="AsteroidsGame" data-processing-sources="AsteroidsGame.pde Bullet.pde Asteroid.pde Floater.pde Spaceship.pde Star.pde">
</canvas>
</section>
<footer>
This is a simple game right now.<br>
Press w to move forward<br>
Press a to turn left<br>
Press d to turn right<br>
Press r to stop and teleport somewhere random<br>
Press the space bar to shoot a bullet<br>
</footer>
</body>
</html>