SpikeWars: refactor rendering out into a separate module. Finished with basic game loop.

This commit is contained in:
Jonathan Bernard
2016-07-25 21:30:55 -05:00
parent 72f0eede9d
commit 7d0b953fbe
5 changed files with 129 additions and 32 deletions

View File

@@ -16,6 +16,7 @@
<h1>Spike Wars!</h1>
<canvas width=960 height=384></canvas>
</div>
<div><input id=pause type=checkbox checked=false>Pause</input>
<script type='application/javascript' src="js/spike-wars-${version}.js"></script>
</body>
</html>