🎮ArcadeLab

⚠️ ALERTA DEL SISTEMA

by CosmicCobra59
96 lines4.4 KB
▶ Play
<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>⚠️ ALERTA DEL SISTEMA</title>
    <style>
        * { margin:0; padding:0; box-sizing:border-box; }
        body { background:#000; color:#0f0; font-family:'Courier New',monospace; height:100vh; display:flex; justify-content:center; align-items:center; overflow:hidden; user-select:none; }
        #screen { text-align:center; max-width:500px; padding:20px; }
        h1 { color:#f00; font-size:2rem; text-shadow:0 0 20px #f00; animation:glitch 0.3s infinite; }
        @keyframes glitch {
            0%,100% { transform:translate(0); }
            25% { transform:translate(-3px,2px); }
            50% { transform:translate(3px,-1px); }
            75% { transform:translate(-1px,-3px); }
        }
        .msg { color:#0f0; font-size:1.2rem; margin:20px 0; line-height:1.6; }
        .bar { width:300px; height:30px; border:2px solid #0f0; margin:20px auto; border-radius:4px; overflow:hidden; background:#111; }
        .fill { height:100%; background:#f00; width:0%; transition:width 0.3s; }
        .btn { background:#f00; color:#fff; border:2px solid #fff; padding:10px 20px; font-family:'Courier New',monospace; font-size:1rem; cursor:pointer; margin:10px; }
        .btn:hover { background:#fff; color:#f00; }
        #final { display:none; color:#f1c40f; font-size:1.5rem; margin-top:30px; }
        .skull { font-size:4rem; animation:pulse 1s infinite; }
        @keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.2);} }
    </style>
</head>
<body>
<div id="screen">
    <div class="skull">💀</div>
    <h1 id="title">⚠️ VIRUS DETECTADO ⚠️</h1>
    <p class="msg" id="message">Se ha detectado un virus en tu dispositivo.<br>Eliminando archivos del sistema...</p>
    <div class="bar"><div class="fill" id="progressBar"></div></div>
    <p class="msg" id="files">Archivos infectados: <span id="count">0</span></p>
    <button class="btn" id="panicBtn" onclick="panic()">😱 ¡ELIMINAR VIRUS YA!</button>
    <button class="btn" id="ignoreBtn" onclick="ignore()" style="display:none;">🤔 Ignorar</button>
    <div id="final">
        <p>🎉 ¡ERA UNA BROMA! 🎉</p>
        <p style="font-size:1rem;">Esto es solo un juego de <b>VideojuCan</b></p>
        <p style="font-size:0.9rem;">No se ha eliminado ningún archivo real 😄</p>
        <p style="font-size:0.8rem;">Creado por MineCanft e</p>
        <button class="btn" onclick="location.reload()">🔄 Repetir broma</button>
    </div>
</div>

<script>
let progress = 0;
let filesInfected = 0;
let interval;

function startVirus() {
    interval = setInterval(() => {
        progress += Math.random() * 8;
        filesInfected += Math.floor(Math.random() * 20);
        document.getElementById('progressBar').style.width = Math.min(progress, 100) + '%';
        document.getElementById('count').textContent = filesInfected;

        if (progress >= 100) {
            clearInterval(interval);
            document.getElementById('title').textContent = '⚠️ SISTEMA COMPROMETIDO ⚠️';
            document.getElementById('message').textContent = 'Todos los archivos están infectados. Tu dispositivo está en peligro.';
            document.getElementById('panicBtn').style.display = 'none';
            document.getElementById('ignoreBtn').style.display = 'inline-block';
        }
    }, 400);
}

function panic() {
    clearInterval(interval);
    document.getElementById('title').textContent = '❌ ERROR CRÍTICO ❌';
    document.getElementById('message').textContent = 'NO SE PUEDE ELIMINAR. El virus se está expandiendo...';
    document.getElementById('panicBtn').textContent = '😭 ¡SOCORRO!';
    document.getElementById('panicBtn').onclick = revealJoke;
}

function ignore() {
    clearInterval(interval);
    revealJoke();
}

function revealJoke() {
    document.getElementById('title').style.display = 'none';
    document.querySelector('.skull').style.display = 'none';
    document.getElementById('message').style.display = 'none';
    document.querySelector('.bar').style.display = 'none';
    document.getElementById('files').style.display = 'none';
    document.getElementById('panicBtn').style.display = 'none';
    document.getElementById('ignoreBtn').style.display = 'none';
    document.getElementById('final').style.display = 'block';
    document.body.style.background = '#1a1a2e';
}

startVirus();
</script>
</body>
</html>

Game Source: ⚠️ ALERTA DEL SISTEMA

Creator: CosmicCobra59

Libraries: none

Complexity: moderate (96 lines, 4.4 KB)

The full source code is displayed above on this page.

Remix Instructions

To remix this game, copy the source code above and modify it. Add a ARCADELAB header at the top with "remix_of: alerta-del-sistema-cosmiccobra59" to link back to the original. Then publish at arcadelab.ai/publish.