Juny.exe - Kill Tony Game
About this app
Help Juny.exe to Kill Tony in this exciting game!
Juny.exe - Kill Tony Game
Related apps
Put this on your site
Source
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Juny.exe - Kill Tony Game</title>
<meta name="description" content="Help Juny.exe to Kill Tony in this exciting game!">
<meta name="keywords" content="juny.exe, kill tony, game">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
const tony = document.getElementById("tony");
const juny = document.getElementById("juny");
// Function to handle the click event on Tony
function killTony() {
tony.style.animation = "shake 0.5s";
setTimeout(function() {
tony.style.display = "none";
alert("Congratulations! You killed Tony! You saved Juny.exe!");
}, 500);
}
// Add click event listener to Tony
tony.addEventListener("click", killTony);
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
/* App CSS Goes Here */
body {
background-color: #F8F8F8;
font-family: 'Press Start 2P', cursive;
}
#main-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.game-container {
position: relative;
}
.character {
position: absolute;
cursor: pointer;
transition: transform 0.2s;
}
.character:hover {
transform: scale(1.2);
}
.tony {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
animation-duration: 2s;
animation-iteration-count: infinite;
animation-name: rotate;
}
.juny {
top: 60%;
left: 40%;
}
@keyframes rotate {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
}
@keyframes shake {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
25% {
transform: translate(-50%, -50%) rotate(-10deg);
}
50% {
transform: translate(-50%, -50%) rotate(10deg);
}
75% {
transform: translate(-50%, -50%) rotate(-10deg);
}
100% {
transform: translate(-50%, -50%) rotate(0deg);
}
}
</style>
</head>
<body>
<div id="main-container" class="container">
<div class="game-container">
<img id="tony" class="character" src="https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/285/skull-and-crossbones_2620.png" width="100" height="100">
<img id="juny" class="character" src="https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/285/ghost_1f47b.png" width="100" height="100">
</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!