Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		<!DOCTYPE html>
Browse files<html>
<head>
  <meta charset="UTF-8">
  <title>Jogo no Alma</title>
</head>
<body>
  <h1>Aventura no Alma</h1>
  <div id="texto">Estás à porta do Alma. Queres entrar?</div>
  <img id="imagem" src="entrada.jpg" width="300" alt="Entrada do Alma">
  <br>
  <button onclick="escolha('sim')">Entrar</button>
  <button onclick="escolha('nao')">Ficar cá fora</button>
  <script>
    function escolha(opcao) {
      const texto = document.getElementById("texto");
      const imagem = document.getElementById("imagem");
      if (opcao === "sim") {
        texto.innerText = "Entraste no Alma. Vês duas portas.";
        imagem.src = "interior.jpg";
      } else {
        texto.innerText = "Ficaste cá fora. Fim do jogo.";
        imagem.src = "saida.jpg";
      }
    }
  </script>
</body>
</html>
- README.md +7 -4
- index.html +123 -18
| @@ -1,10 +1,13 @@ | |
| 1 | 
             
            ---
         | 
| 2 | 
            -
            title: Soulful Gaming Adventure
         | 
| 3 | 
            -
            emoji: 📚
         | 
| 4 | 
             
            colorFrom: blue
         | 
| 5 | 
            -
            colorTo:  | 
|  | |
| 6 | 
             
            sdk: static
         | 
| 7 | 
             
            pinned: false
         | 
|  | |
|  | |
| 8 | 
             
            ---
         | 
| 9 |  | 
| 10 | 
            -
             | 
|  | 
|  | |
| 1 | 
             
            ---
         | 
| 2 | 
            +
            title: Soulful Gaming Adventure ✨
         | 
|  | |
| 3 | 
             
            colorFrom: blue
         | 
| 4 | 
            +
            colorTo: purple
         | 
| 5 | 
            +
            emoji: 🐳
         | 
| 6 | 
             
            sdk: static
         | 
| 7 | 
             
            pinned: false
         | 
| 8 | 
            +
            tags:
         | 
| 9 | 
            +
              - deepsite-v3
         | 
| 10 | 
             
            ---
         | 
| 11 |  | 
| 12 | 
            +
            # Welcome to your new DeepSite project!
         | 
| 13 | 
            +
            This project was created with [DeepSite](https://deepsite.hf.co).
         | 
| @@ -1,19 +1,124 @@ | |
| 1 | 
            -
            <! | 
| 2 | 
            -
            <html>
         | 
| 3 | 
            -
             | 
| 4 | 
            -
             | 
| 5 | 
            -
             | 
| 6 | 
            -
             | 
| 7 | 
            -
             | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 19 | 
             
            </html>
         | 
|  | |
| 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>Soulful Gaming Adventure</title>
         | 
| 7 | 
            +
                <script src="https://cdn.tailwindcss.com"></script>
         | 
| 8 | 
            +
                <script src="https://unpkg.com/feather-icons"></script>
         | 
| 9 | 
            +
                <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
         | 
| 10 | 
            +
                <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
         | 
| 11 | 
            +
                <style>
         | 
| 12 | 
            +
                    .vanta-bg {
         | 
| 13 | 
            +
                        position: fixed;
         | 
| 14 | 
            +
                        top: 0;
         | 
| 15 | 
            +
                        left: 0;
         | 
| 16 | 
            +
                        width: 100%;
         | 
| 17 | 
            +
                        height: 100%;
         | 
| 18 | 
            +
                        z-index: -1;
         | 
| 19 | 
            +
                    }
         | 
| 20 | 
            +
                    .choice-btn {
         | 
| 21 | 
            +
                        transition: all 0.3s ease;
         | 
| 22 | 
            +
                    }
         | 
| 23 | 
            +
                    .choice-btn:hover {
         | 
| 24 | 
            +
                        transform: translateY(-3px);
         | 
| 25 | 
            +
                        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
         | 
| 26 | 
            +
                    }
         | 
| 27 | 
            +
                </style>
         | 
| 28 | 
            +
            </head>
         | 
| 29 | 
            +
            <body class="min-h-screen flex flex-col items-center justify-center bg-gray-900 text-white p-4">
         | 
| 30 | 
            +
                <div id="vanta-bg" class="vanta-bg"></div>
         | 
| 31 | 
            +
                
         | 
| 32 | 
            +
                <div class="max-w-2xl w-full bg-gray-800 bg-opacity-80 backdrop-blur-sm rounded-xl p-8 shadow-2xl border border-gray-700">
         | 
| 33 | 
            +
                    <div class="text-center mb-8">
         | 
| 34 | 
            +
                        <h1 class="text-4xl font-bold mb-2 text-transparent bg-clip-text bg-gradient-to-r from-purple-400 to-pink-600">
         | 
| 35 | 
            +
                            Soulful Gaming Adventure
         | 
| 36 | 
            +
                        </h1>
         | 
| 37 | 
            +
                        <p class="text-gray-300 mb-6">Your journey begins at the gates of Alma</p>
         | 
| 38 | 
            +
                        <img src="http://static.photos/mystical/640x360/42" alt="Mystical gate" class="w-full h-64 object-cover rounded-lg mb-6 border-2 border-purple-500">
         | 
| 39 | 
            +
                    </div>
         | 
| 40 | 
            +
             | 
| 41 | 
            +
                    <div id="text-container" class="text-center mb-8">
         | 
| 42 | 
            +
                        <p id="story-text" class="text-xl mb-8">You stand before the ancient gates of Alma. The air hums with mysterious energy. Do you dare to enter?</p>
         | 
| 43 | 
            +
                    </div>
         | 
| 44 | 
            +
             | 
| 45 | 
            +
                    <div class="flex flex-col sm:flex-row gap-4 justify-center">
         | 
| 46 | 
            +
                        <button id="enter-btn" onclick="makeChoice('enter')" class="choice-btn bg-gradient-to-r from-purple-600 to-indigo-600 hover:from-purple-700 hover:to-indigo-700 text-white font-bold py-3 px-6 rounded-lg flex items-center justify-center gap-2">
         | 
| 47 | 
            +
                            <i data-feather="door-open"></i> Enter the Gates
         | 
| 48 | 
            +
                        </button>
         | 
| 49 | 
            +
                        <button id="leave-btn" onclick="makeChoice('leave')" class="choice-btn bg-gradient-to-r from-gray-600 to-gray-700 hover:from-gray-700 hover:to-gray-800 text-white font-bold py-3 px-6 rounded-lg flex items-center justify-center gap-2">
         | 
| 50 | 
            +
                            <i data-feather="x"></i> Walk Away
         | 
| 51 | 
            +
                        </button>
         | 
| 52 | 
            +
                    </div>
         | 
| 53 | 
            +
                </div>
         | 
| 54 | 
            +
             | 
| 55 | 
            +
                <script>
         | 
| 56 | 
            +
                    // Initialize Vanta.js background
         | 
| 57 | 
            +
                    VANTA.GLOBE({
         | 
| 58 | 
            +
                        el: "#vanta-bg",
         | 
| 59 | 
            +
                        mouseControls: true,
         | 
| 60 | 
            +
                        touchControls: true,
         | 
| 61 | 
            +
                        gyroControls: false,
         | 
| 62 | 
            +
                        minHeight: 200.00,
         | 
| 63 | 
            +
                        minWidth: 200.00,
         | 
| 64 | 
            +
                        scale: 1.00,
         | 
| 65 | 
            +
                        scaleMobile: 1.00,
         | 
| 66 | 
            +
                        color: 0x7f3ff5,
         | 
| 67 | 
            +
                        backgroundColor: 0x111827
         | 
| 68 | 
            +
                    });
         | 
| 69 | 
            +
             | 
| 70 | 
            +
                    // Initialize feather icons
         | 
| 71 | 
            +
                    feather.replace();
         | 
| 72 | 
            +
             | 
| 73 | 
            +
                    function makeChoice(choice) {
         | 
| 74 | 
            +
                        const storyText = document.getElementById('story-text');
         | 
| 75 | 
            +
                        const enterBtn = document.getElementById('enter-btn');
         | 
| 76 | 
            +
                        const leaveBtn = document.getElementById('leave-btn');
         | 
| 77 | 
            +
                        
         | 
| 78 | 
            +
                        if (choice === 'enter') {
         | 
| 79 | 
            +
                            storyText.innerHTML = "As you pass through the gates, you find yourself in a grand hall with two mysterious doors glowing with different energies.";
         | 
| 80 | 
            +
                            enterBtn.innerHTML = '<i data-feather="compass"></i> Follow the Blue Light';
         | 
| 81 | 
            +
                            enterBtn.onclick = function() { makeChoice('blue') };
         | 
| 82 | 
            +
                            enterBtn.className = "choice-btn bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700 text-white font-bold py-3 px-6 rounded-lg flex items-center justify-center gap-2";
         | 
| 83 | 
            +
                            
         | 
| 84 | 
            +
                            leaveBtn.innerHTML = '<i data-feather="moon"></i> Follow the Purple Glow';
         | 
| 85 | 
            +
                            leaveBtn.onclick = function() { makeChoice('purple') };
         | 
| 86 | 
            +
                            leaveBtn.className = "choice-btn bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 text-white font-bold py-3 px-6 rounded-lg flex items-center justify-center gap-2";
         | 
| 87 | 
            +
                            
         | 
| 88 | 
            +
                            document.querySelector('img').src = "http://static.photos/mystical/640x360/43";
         | 
| 89 | 
            +
                        } 
         | 
| 90 | 
            +
                        else if (choice === 'leave') {
         | 
| 91 | 
            +
                            storyText.innerHTML = "You turn away from the gates, but as you walk, the path behind you disappears. You're lost in an endless void...";
         | 
| 92 | 
            +
                            enterBtn.style.display = 'none';
         | 
| 93 | 
            +
                            leaveBtn.innerHTML = '<i data-feather="refresh-cw"></i> Start Over';
         | 
| 94 | 
            +
                            leaveBtn.onclick = function() { window.location.reload() };
         | 
| 95 | 
            +
                            leaveBtn.className = "choice-btn bg-gradient-to-r from-red-600 to-pink-600 hover:from-red-700 hover:to-pink-700 text-white font-bold py-3 px-6 rounded-lg flex items-center justify-center gap-2";
         | 
| 96 | 
            +
                            
         | 
| 97 | 
            +
                            document.querySelector('img').src = "http://static.photos/abstract/640x360/99";
         | 
| 98 | 
            +
                        }
         | 
| 99 | 
            +
                        else if (choice === 'blue') {
         | 
| 100 | 
            +
                            storyText.innerHTML = "The blue light envelops you, transporting you to a crystal cave filled with ancient knowledge. What do you seek?";
         | 
| 101 | 
            +
                            enterBtn.innerHTML = '<i data-feather="book"></i> Study the Knowledge';
         | 
| 102 | 
            +
                            enterBtn.onclick = function() { makeChoice('study') };
         | 
| 103 | 
            +
                            
         | 
| 104 | 
            +
                            leaveBtn.innerHTML = '<i data-feather="trending-up"></i> Seek Power';
         | 
| 105 | 
            +
                            leaveBtn.onclick = function() { makeChoice('power') };
         | 
| 106 | 
            +
                            
         | 
| 107 | 
            +
                            document.querySelector('img').src = "http://static.photos/technology/640x360/77";
         | 
| 108 | 
            +
                        }
         | 
| 109 | 
            +
                        else if (choice === 'purple') {
         | 
| 110 | 
            +
                            storyText.innerHTML = "The purple glow leads you to a mystical garden where time seems to stand still. What will you do?";
         | 
| 111 | 
            +
                            enterBtn.innerHTML = '<i data-feather="flower"></i> Meditate';
         | 
| 112 | 
            +
                            enterBtn.onclick = function() { makeChoice('meditate') };
         | 
| 113 | 
            +
                            
         | 
| 114 | 
            +
                            leaveBtn.innerHTML = '<i data-feather="eye"></i> Observe';
         | 
| 115 | 
            +
                            leaveBtn.onclick = function() { makeChoice('observe') };
         | 
| 116 | 
            +
                            
         | 
| 117 | 
            +
                            document.querySelector('img').src = "http://static.photos/nature/640x360/88";
         | 
| 118 | 
            +
                        }
         | 
| 119 | 
            +
                        
         | 
| 120 | 
            +
                        feather.replace();
         | 
| 121 | 
            +
                    }
         | 
| 122 | 
            +
                </script>
         | 
| 123 | 
            +
            </body>
         | 
| 124 | 
             
            </html>
         | 
