blob: 29208414a678ff69c6cebb4337e11508a47d67ee (
plain) (
blame)
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>
<html>
<head>
<title>Rogue</title>
<style>
body {
margin: 0;
overflow: hidden;
}
canvas {
display: block;
}
</style>
</head>
<body>
<canvas id="gameCanvas"></canvas>
<!-- Load renderer.js first since other files depend on its functions -->
<script src="js/renderer.js"></script>
<script src="js/input.js"></script>
<script src="js/world.js"></script>
<script src="js/player.js"></script>
<script src="js/camera.js"></script>
<!-- Load rogue.js last as it uses functions from all other files -->
<script src="js/rogue.js"></script>
</body>
</html>
|