27 lines
782 B
HTML
27 lines
782 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script src="input.js" defer></script>
|
|
<script src="player.js" defer></script>
|
|
<script src="engine.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<div class="player"
|
|
data-sprite="player.png"
|
|
data-pos-x="0"
|
|
data-pos-y="0"
|
|
id="player"
|
|
style="position:absolute;width:50px;height:50px;background-color:black;"></div>
|
|
<article class="level" id="test">
|
|
<table class="enemy" id="table-enemy" >
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
o o o
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</article>
|
|
</body>
|
|
</html>
|