-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspaceinvaders.html
27 lines (26 loc) · 1004 Bytes
/
spaceinvaders.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
<!-- alien.png from https://www.pikpng.com/pngvi/JoTxmx_space-invaders-alien-png-image-background-8-bit-space-invaders-png-clipart/-->
<!-- shield images from https://www.raspberrypi.org/blog/coding-space-invaders-disintegrating-shields-wireframe-9/-->
<!-- spaceship image from https://steamcommunity.com/sharedfiles/filedetails/?id=277472506 -->
<!-- font from https://www.fontspace.com/minecraft-ten-font-f40317 -->
<!-- code structure adapted from https://tgdwyer.github.io/asteroids/-->
<html>
<head>
<style>
@import url(style.css);
p.highlight {
color: red;
}
svg {
background-color: rgb(0, 0, 0);
}
</style>
<script src="./dist/spaceinvaders.js"></script>
</head>
<body>
<h1>Space Invaders</h1>
<svg id="outerCanvas", width="600" height="600">
<svg id="canvas" width="600" height="600">
</svg>
</svg>
</body>
</html>