Spaces:
Running
Running
🐳 13/02 - 02:48 - Activate Burrito Runner.
Browse files
game.html
CHANGED
|
@@ -4,7 +4,51 @@
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Burrito Runner</title>
|
| 7 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
<div class="game-container">
|
|
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Burrito Runner</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<style>
|
| 9 |
+
body {
|
| 10 |
+
margin: 0;
|
| 11 |
+
padding: 0;
|
| 12 |
+
font-family: 'Arial', sans-serif;
|
| 13 |
+
background-color: #FFF5E6;
|
| 14 |
+
display: flex;
|
| 15 |
+
justify-content: center;
|
| 16 |
+
align-items: center;
|
| 17 |
+
height: 100vh;
|
| 18 |
+
overflow: hidden;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.game-container {
|
| 22 |
+
position: relative;
|
| 23 |
+
text-align: center;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
#gameCanvas {
|
| 27 |
+
background-color: #FFE4B5;
|
| 28 |
+
border: 5px solid #8B4513;
|
| 29 |
+
border-radius: 10px;
|
| 30 |
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.game-info {
|
| 34 |
+
position: absolute;
|
| 35 |
+
top: 10px;
|
| 36 |
+
left: 10px;
|
| 37 |
+
background-color: rgba(255, 255, 255, 0.7);
|
| 38 |
+
padding: 10px;
|
| 39 |
+
border-radius: 5px;
|
| 40 |
+
font-weight: bold;
|
| 41 |
+
font-size: 18px;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.game-info::after {
|
| 45 |
+
content: "SHIFT = Rage Mode! Avoid Red Devourer!";
|
| 46 |
+
display: block;
|
| 47 |
+
color: #DC143C;
|
| 48 |
+
font-size: 14px;
|
| 49 |
+
margin-top: 5px;
|
| 50 |
+
}
|
| 51 |
+
</style>
|
| 52 |
</head>
|
| 53 |
<body>
|
| 54 |
<div class="game-container">
|