Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +346 -19
- prompts.txt +3 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: flip-lose
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,346 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Flip & Lose - Memory Game</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<style>
|
| 9 |
+
.card {
|
| 10 |
+
perspective: 1000px;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
.card-inner {
|
| 14 |
+
position: relative;
|
| 15 |
+
width: 100%;
|
| 16 |
+
height: 100%;
|
| 17 |
+
transition: transform 0.6s;
|
| 18 |
+
transform-style: preserve-3d;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.card.flipped .card-inner {
|
| 22 |
+
transform: rotateY(180deg);
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.card-face {
|
| 26 |
+
position: absolute;
|
| 27 |
+
width: 100%;
|
| 28 |
+
height: 100%;
|
| 29 |
+
backface-visibility: hidden;
|
| 30 |
+
display: flex;
|
| 31 |
+
align-items: center;
|
| 32 |
+
justify-content: center;
|
| 33 |
+
border-radius: 0.75rem;
|
| 34 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.card-back {
|
| 38 |
+
background: linear-gradient(135deg, #4f46e5 0%, #a855f7 50%, #ec4899 100%);
|
| 39 |
+
color: white;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.card-front {
|
| 43 |
+
background: white;
|
| 44 |
+
transform: rotateY(180deg);
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.player-active {
|
| 48 |
+
box-shadow: 0 0 0 3px #10b981;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.confetti {
|
| 52 |
+
position: absolute;
|
| 53 |
+
width: 10px;
|
| 54 |
+
height: 10px;
|
| 55 |
+
background-color: #f00;
|
| 56 |
+
border-radius: 50%;
|
| 57 |
+
animation: fall 5s linear forwards;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
@keyframes fall {
|
| 61 |
+
to {
|
| 62 |
+
transform: translateY(100vh) rotate(360deg);
|
| 63 |
+
opacity: 0;
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.card-number {
|
| 68 |
+
font-weight: bold;
|
| 69 |
+
font-size: 1.875rem;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.card-icon {
|
| 73 |
+
font-size: 1.5rem;
|
| 74 |
+
opacity: 0.8;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.wrong-guess {
|
| 78 |
+
animation: shake 0.5s;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
@keyframes shake {
|
| 82 |
+
0%, 100% { transform: translateX(0); }
|
| 83 |
+
20%, 60% { transform: translateX(-5px); }
|
| 84 |
+
40%, 80% { transform: translateX(5px); }
|
| 85 |
+
}
|
| 86 |
+
</style>
|
| 87 |
+
</head>
|
| 88 |
+
<body class="bg-gradient-to-br from-indigo-100 via-purple-100 to-pink-100 min-h-screen flex flex-col items-center justify-center p-4 font-sans">
|
| 89 |
+
<div class="max-w-md w-full">
|
| 90 |
+
<h1 class="text-4xl font-bold text-center mb-6 text-transparent bg-clip-text bg-gradient-to-r from-purple-600 to-pink-600">Flip & Lose</h1>
|
| 91 |
+
|
| 92 |
+
<div class="flex justify-between mb-6">
|
| 93 |
+
<div id="player1" class="player-active bg-white rounded-lg p-4 shadow-md w-5/12 text-center transition-all duration-300">
|
| 94 |
+
<h2 class="font-bold text-lg text-purple-600">Player 1</h2>
|
| 95 |
+
<p class="text-gray-600">Score: <span id="score1" class="font-bold">0</span></p>
|
| 96 |
+
</div>
|
| 97 |
+
<div id="player2" class="bg-white rounded-lg p-4 shadow-md w-5/12 text-center transition-all duration-300">
|
| 98 |
+
<h2 class="font-bold text-lg text-pink-600">Player 2</h2>
|
| 99 |
+
<p class="text-gray-600">Score: <span id="score2" class="font-bold">0</span></p>
|
| 100 |
+
</div>
|
| 101 |
+
</div>
|
| 102 |
+
|
| 103 |
+
<div class="grid grid-cols-3 gap-4 mb-6">
|
| 104 |
+
<!-- Cards will be generated here -->
|
| 105 |
+
</div>
|
| 106 |
+
|
| 107 |
+
<div class="text-center mb-4">
|
| 108 |
+
<p class="text-lg font-semibold">Next number: <span id="next-number" class="text-2xl font-bold text-purple-600">1</span></p>
|
| 109 |
+
</div>
|
| 110 |
+
|
| 111 |
+
<div class="flex justify-center">
|
| 112 |
+
<button id="reset-btn" class="bg-gradient-to-r from-purple-500 to-pink-500 text-white font-bold py-2 px-6 rounded-full shadow-lg hover:opacity-90 transition-opacity">
|
| 113 |
+
Reset Game
|
| 114 |
+
</button>
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
|
| 118 |
+
<!-- Victory Modal -->
|
| 119 |
+
<div id="victory-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center hidden z-50">
|
| 120 |
+
<div class="bg-white rounded-xl p-8 max-w-sm w-full text-center relative overflow-hidden">
|
| 121 |
+
<div id="confetti-container"></div>
|
| 122 |
+
<h2 class="text-3xl font-bold mb-4 text-transparent bg-clip-text bg-gradient-to-r from-purple-600 to-pink-600">Victory!</h2>
|
| 123 |
+
<p id="winner-text" class="text-xl mb-6"></p>
|
| 124 |
+
<button id="play-again-btn" class="bg-gradient-to-r from-purple-500 to-pink-500 text-white font-bold py-2 px-6 rounded-full shadow-lg hover:opacity-90 transition-opacity">
|
| 125 |
+
Play Again
|
| 126 |
+
</button>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<script>
|
| 131 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 132 |
+
const grid = document.querySelector('.grid');
|
| 133 |
+
const nextNumberDisplay = document.getElementById('next-number');
|
| 134 |
+
const player1Element = document.getElementById('player1');
|
| 135 |
+
const player2Element = document.getElementById('player2');
|
| 136 |
+
const score1Element = document.getElementById('score1');
|
| 137 |
+
const score2Element = document.getElementById('score2');
|
| 138 |
+
const resetBtn = document.getElementById('reset-btn');
|
| 139 |
+
const victoryModal = document.getElementById('victory-modal');
|
| 140 |
+
const winnerText = document.getElementById('winner-text');
|
| 141 |
+
const playAgainBtn = document.getElementById('play-again-btn');
|
| 142 |
+
const confettiContainer = document.getElementById('confetti-container');
|
| 143 |
+
|
| 144 |
+
let currentPlayer = 1;
|
| 145 |
+
let nextNumber = 1;
|
| 146 |
+
let score1 = 0;
|
| 147 |
+
let score2 = 0;
|
| 148 |
+
let cards = [];
|
| 149 |
+
let revealedCards = {};
|
| 150 |
+
|
| 151 |
+
// Initialize the game
|
| 152 |
+
function initGame() {
|
| 153 |
+
grid.innerHTML = '';
|
| 154 |
+
cards = [];
|
| 155 |
+
revealedCards = {};
|
| 156 |
+
nextNumber = 1;
|
| 157 |
+
nextNumberDisplay.textContent = nextNumber;
|
| 158 |
+
|
| 159 |
+
// Create cards 1-9 in random order
|
| 160 |
+
const numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9];
|
| 161 |
+
shuffleArray(numbers);
|
| 162 |
+
|
| 163 |
+
numbers.forEach((number, index) => {
|
| 164 |
+
const card = document.createElement('div');
|
| 165 |
+
card.className = 'card aspect-square cursor-pointer';
|
| 166 |
+
card.dataset.number = number;
|
| 167 |
+
card.dataset.index = index;
|
| 168 |
+
|
| 169 |
+
const cardInner = document.createElement('div');
|
| 170 |
+
cardInner.className = 'card-inner';
|
| 171 |
+
|
| 172 |
+
// Card back (visible when face down)
|
| 173 |
+
const cardBack = document.createElement('div');
|
| 174 |
+
cardBack.className = 'card-face card-back';
|
| 175 |
+
|
| 176 |
+
// Add a question mark icon to the back
|
| 177 |
+
const backIcon = document.createElement('div');
|
| 178 |
+
backIcon.className = 'card-icon';
|
| 179 |
+
backIcon.textContent = '?';
|
| 180 |
+
cardBack.appendChild(backIcon);
|
| 181 |
+
|
| 182 |
+
// Card front (visible when face up)
|
| 183 |
+
const cardFront = document.createElement('div');
|
| 184 |
+
cardFront.className = 'card-face card-front';
|
| 185 |
+
|
| 186 |
+
const frontNumber = document.createElement('div');
|
| 187 |
+
frontNumber.className = 'card-number';
|
| 188 |
+
frontNumber.textContent = number;
|
| 189 |
+
cardFront.appendChild(frontNumber);
|
| 190 |
+
|
| 191 |
+
cardInner.appendChild(cardBack);
|
| 192 |
+
cardInner.appendChild(cardFront);
|
| 193 |
+
card.appendChild(cardInner);
|
| 194 |
+
|
| 195 |
+
card.addEventListener('click', handleCardClick);
|
| 196 |
+
|
| 197 |
+
grid.appendChild(card);
|
| 198 |
+
cards.push({
|
| 199 |
+
element: card,
|
| 200 |
+
number: number,
|
| 201 |
+
isFlipped: false
|
| 202 |
+
});
|
| 203 |
+
});
|
| 204 |
+
|
| 205 |
+
updatePlayerTurn();
|
| 206 |
+
}
|
| 207 |
+
function handleCardClick(e) {
|
| 208 |
+
const cardElement = e.currentTarget;
|
| 209 |
+
const cardIndex = parseInt(cardElement.dataset.index);
|
| 210 |
+
const cardNumber = parseInt(cardElement.dataset.number);
|
| 211 |
+
|
| 212 |
+
if (cards[cardIndex].isFlipped) return;
|
| 213 |
+
|
| 214 |
+
// Flip the card
|
| 215 |
+
flipCard(cardIndex, true);
|
| 216 |
+
|
| 217 |
+
// Check if it's the correct number
|
| 218 |
+
if (cardNumber === nextNumber) {
|
| 219 |
+
// Correct number - update game state
|
| 220 |
+
nextNumber++;
|
| 221 |
+
nextNumberDisplay.textContent = nextNumber;
|
| 222 |
+
revealedCards[cardNumber] = true;
|
| 223 |
+
|
| 224 |
+
if (currentPlayer === 1) {
|
| 225 |
+
score1++;
|
| 226 |
+
score1Element.textContent = score1;
|
| 227 |
+
} else {
|
| 228 |
+
score2++;
|
| 229 |
+
score2Element.textContent = score2;
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
if (nextNumber > 9) {
|
| 233 |
+
showVictory();
|
| 234 |
+
return;
|
| 235 |
+
}
|
| 236 |
+
} else {
|
| 237 |
+
// ❌ Wrong number logic
|
| 238 |
+
|
| 239 |
+
cardElement.classList.add('wrong-guess');
|
| 240 |
+
|
| 241 |
+
setTimeout(() => {
|
| 242 |
+
cardElement.classList.remove('wrong-guess');
|
| 243 |
+
|
| 244 |
+
// ❗ Hide all flipped cards including previous correct ones (reset progress)
|
| 245 |
+
cards.forEach((card, index) => {
|
| 246 |
+
if (card.isFlipped) {
|
| 247 |
+
flipCard(index, false);
|
| 248 |
+
}
|
| 249 |
+
});
|
| 250 |
+
|
| 251 |
+
// ❗ Reset next expected number and revealedCards
|
| 252 |
+
nextNumber = 1;
|
| 253 |
+
nextNumberDisplay.textContent = nextNumber;
|
| 254 |
+
revealedCards = {};
|
| 255 |
+
|
| 256 |
+
// Switch player
|
| 257 |
+
currentPlayer = currentPlayer === 1 ? 2 : 1;
|
| 258 |
+
updatePlayerTurn();
|
| 259 |
+
}, 1000);
|
| 260 |
+
}
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
// Flip a card
|
| 264 |
+
function flipCard(index, flip) {
|
| 265 |
+
const card = cards[index];
|
| 266 |
+
card.isFlipped = flip;
|
| 267 |
+
|
| 268 |
+
if (flip) {
|
| 269 |
+
card.element.classList.add('flipped');
|
| 270 |
+
} else {
|
| 271 |
+
card.element.classList.remove('flipped');
|
| 272 |
+
}
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
+
// Update player turn UI
|
| 276 |
+
function updatePlayerTurn() {
|
| 277 |
+
if (currentPlayer === 1) {
|
| 278 |
+
player1Element.classList.add('player-active');
|
| 279 |
+
player2Element.classList.remove('player-active');
|
| 280 |
+
} else {
|
| 281 |
+
player1Element.classList.remove('player-active');
|
| 282 |
+
player2Element.classList.add('player-active');
|
| 283 |
+
}
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
// Show victory screen
|
| 287 |
+
function showVictory() {
|
| 288 |
+
const winner = score1 > score2 ? 1 : 2;
|
| 289 |
+
winnerText.textContent = `Player ${winner} wins!`;
|
| 290 |
+
|
| 291 |
+
// Create confetti
|
| 292 |
+
createConfetti();
|
| 293 |
+
|
| 294 |
+
victoryModal.classList.remove('hidden');
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
// Create confetti effect
|
| 298 |
+
function createConfetti() {
|
| 299 |
+
confettiContainer.innerHTML = '';
|
| 300 |
+
const colors = ['#f87171', '#60a5fa', '#34d399', '#fbbf24', '#a78bfa', '#f472b6'];
|
| 301 |
+
|
| 302 |
+
for (let i = 0; i < 100; i++) {
|
| 303 |
+
const confetti = document.createElement('div');
|
| 304 |
+
confetti.className = 'confetti';
|
| 305 |
+
confetti.style.left = Math.random() * 100 + '%';
|
| 306 |
+
confetti.style.top = -10 + 'px';
|
| 307 |
+
confetti.style.backgroundColor = colors[Math.floor(Math.random() * colors.length)];
|
| 308 |
+
confetti.style.animationDuration = Math.random() * 3 + 2 + 's';
|
| 309 |
+
confetti.style.width = Math.random() * 8 + 4 + 'px';
|
| 310 |
+
confetti.style.height = Math.random() * 8 + 4 + 'px';
|
| 311 |
+
confetti.style.animationDelay = Math.random() * 5 + 's';
|
| 312 |
+
|
| 313 |
+
confettiContainer.appendChild(confetti);
|
| 314 |
+
}
|
| 315 |
+
}
|
| 316 |
+
|
| 317 |
+
// Reset game
|
| 318 |
+
function resetGame() {
|
| 319 |
+
currentPlayer = 1;
|
| 320 |
+
score1 = 0;
|
| 321 |
+
score2 = 0;
|
| 322 |
+
score1Element.textContent = '0';
|
| 323 |
+
score2Element.textContent = '0';
|
| 324 |
+
victoryModal.classList.add('hidden');
|
| 325 |
+
initGame();
|
| 326 |
+
}
|
| 327 |
+
|
| 328 |
+
// Helper function to shuffle array
|
| 329 |
+
function shuffleArray(array) {
|
| 330 |
+
for (let i = array.length - 1; i > 0; i--) {
|
| 331 |
+
const j = Math.floor(Math.random() * (i + 1));
|
| 332 |
+
[array[i], array[j]] = [array[j], array[i]];
|
| 333 |
+
}
|
| 334 |
+
return array;
|
| 335 |
+
}
|
| 336 |
+
|
| 337 |
+
// Event listeners
|
| 338 |
+
resetBtn.addEventListener('click', resetGame);
|
| 339 |
+
playAgainBtn.addEventListener('click', resetGame);
|
| 340 |
+
|
| 341 |
+
// Start the game
|
| 342 |
+
initGame();
|
| 343 |
+
});
|
| 344 |
+
</script>
|
| 345 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=achkaou/flip-lose" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 346 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Design a two-player memory game called "Flip & Lose". The game has 9 cards numbered 1 to 9, placed face down in a 3x3 grid. Each player takes turns flipping cards in ascending order from 1 to 9. If a player flips the wrong number (not the expected one in the sequence), their turn ends, the cards are hidden again, and the next player starts. Players can remember and use previously revealed positions. Style: Minimalist, modern, friendly for all ages. Visuals to generate: Game board (3x3 grid with face-down cards) Card flip animation concept (from back to number) Two-player UI with turn indicator Victory screen when a player completes the sequence Fun background (e.g., colorful, casual tone like mobile puzzle games)
|
| 2 |
+
make the number hideing anitul flipe it
|
| 3 |
+
make if the user flip and not got the next number make all number hiding and the trun of the secedn plauer
|