burrito-runner / game.html
CommanderLazarus's picture
🐳 13/02 - 02:48 - Activate Burrito Runner.
942000e verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Burrito Runner</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background-color: #FFF5E6;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
}
.game-container {
position: relative;
text-align: center;
}
#gameCanvas {
background-color: #FFE4B5;
border: 5px solid #8B4513;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.game-info {
position: absolute;
top: 10px;
left: 10px;
background-color: rgba(255, 255, 255, 0.7);
padding: 10px;
border-radius: 5px;
font-weight: bold;
font-size: 18px;
}
.game-info::after {
content: "SHIFT = Rage Mode! Avoid Red Devourer!";
display: block;
color: #DC143C;
font-size: 14px;
margin-top: 5px;
}
</style>
</head>
<body>
<div class="game-container">
<canvas id="gameCanvas" width="800" height="600"></canvas>
<div class="game-info">
<div>Score: <span id="score">0</span></div>
<div>Lives: <span id="lives">3</span></div>
</div>
</div>
<script src="game.js"></script>
</body>
</html>