Calculator Tools Calculator Tools
Create

Bradley's Super Jump Game

Nov 13, 2023

About this app

Play as Bradley in this exciting super jumping game!

Bradley's Super Jump Game

Related apps

Put this on your site

Source

                    <html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">

<title>Bradley's Super Jump Game</title>
<meta name="description" content="Play as Bradley in this exciting super jumping game!">
<meta name="keywords" content="game, Bradley, super jump, daggers, belly flop, crucial">

<script>
// App Javascript Goes Here
document.addEventListener("DOMContentLoaded", function() {
var jumpCount = 0;

document.body.onkeyup = function(e){
if(e.keyCode == 32){
jumpCount++;
if (jumpCount == 2) {
jumpCount = 0;
document.getElementById("crack").style.visibility = "visible";
}
}
};
});
</script>

<style>
/* App CSS Goes Here */
#bradley {
position: absolute;
bottom: 0;
left: 50%;
width: 50px;
height: 100px;
background: #999;
}

#crack {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 50px;
background: url('https://example.com/crack.png') no-repeat center center;
visibility: hidden;
}
</style>
</head>
<body>
<div id="main-container">
<!-- App HTML Goes Here -->
<div id="bradley"></div>
<div id="crack"></div>
</div>
</body>
</html>