Jogo Inovador
About this app
Um jogo inovador com uma interface colorida e divertida.
Jogo Inovador Emoji Clicker Game 🎮 😀 Click Me! Score: 0
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>Jogo Inovador</title>
<meta name="description" content="Um jogo inovador com uma interface colorida e divertida.">
<meta name="keywords" content="jogo, inovador, colorido, divertido">
<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=Monoton&display=swap" rel="stylesheet">
<script type="text/javascript">
try {
let score = 0;
function updateScore() {
document.getElementById('score').innerHTML = "Score: " + score;
}
function randomEmoji() {
const emojis = ['😀', '😃', '😄', '😁', '😆', '😅', '😂', '🤣', '😊', '😇'];
return emojis[Math.floor(Math.random() * emojis.length)];
}
document.addEventListener("DOMContentLoaded", function() {
document.getElementById('emoji-btn').addEventListener('click', function() {
score++;
updateScore();
document.getElementById('emoji').innerHTML = randomEmoji();
});
setInterval(function() {
score--;
updateScore();
}, 5000);
});
} catch (error) {
throw error;
}
</script>
<style>
body {
background: linear-gradient(to right, #ff9966, #ff5e62);
font-family: 'Monoton', cursive;
color: white;
text-align: center;
}
#emoji {
font-size: 100px;
margin-top: 50px;
}
#emoji-btn {
font-size: 20px;
margin-top: 50px;
}
#score {
font-size: 30px;
margin-top: 50px;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Emoji Clicker Game 🎮</h1>
<div id="emoji">😀</div>
<button id="emoji-btn" class="btn btn-light">Click Me!</button>
<div id="score">Score: 0</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!