You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<script type="text/javascript" src="herzle.js"></script>
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
* {
|
|
|
|
font-size: 50px;
|
|
|
|
color: #ff00ff;
|
|
|
|
font-family: helvetica, arial;
|
|
|
|
}
|
|
|
|
#player {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10%;
|
|
|
|
}
|
|
|
|
#enemy {
|
|
|
|
position: absolute;
|
|
|
|
top: 10%;
|
|
|
|
}
|
|
|
|
#pewpew {
|
|
|
|
position:absolute;
|
|
|
|
top: 10%;
|
|
|
|
right: 10%;
|
|
|
|
}
|
|
|
|
div.shoot {
|
|
|
|
position:absolute;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body onload="gameLoop();">
|
|
|
|
<div id="enemy">3</div>
|
|
|
|
<div id="player"><</div>
|
|
|
|
<div id="pewpew"></div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|