Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
778adb2
chore: add package-lock.json
Trilha-pixel Jan 29, 2026
a535d8f
feat: update game text and add VSCode settings
Trilha-pixel Jan 29, 2026
d0b29d2
feat: update game text to Portuguese and version string
Trilha-pixel Jan 29, 2026
5d4f399
feat(monetization): add Flappy Pix monetization system with balance t…
Trilha-pixel Jan 30, 2026
eb3a25c
chore(index): update game version and simplify mobile saque system
Trilha-pixel Jan 30, 2026
a8dc95b
feat: Add a pre-game banner overlay with a 3-attempt play limit and d…
Trilha-pixel Jan 30, 2026
6c28023
feat: Implement 3-attempt game limit and a pre-game banner with user …
Trilha-pixel Jan 30, 2026
d330ad5
feat: Add animated "hype" messages and associated styling/logic to ce…
Trilha-pixel Jan 30, 2026
a36f894
feat: Add social proof notification system with dynamic messages and …
Trilha-pixel Jan 30, 2026
f2c9e34
feat: Randomize join and withdraw notification messages with varied p…
Trilha-pixel Jan 30, 2026
ac593e5
feat: Implement and display a dynamic leaderboard with styling and Ja…
Trilha-pixel Jan 30, 2026
dd9faf3
feat: Add interactive expand/collapse functionality to the leaderboar…
Trilha-pixel Jan 30, 2026
b2bc89d
Remove GitHub button integration and introduce a copyright footer.
Trilha-pixel Jan 30, 2026
61af002
feat: Implement a withdrawal modal to display accumulated balance whe…
Trilha-pixel Jan 30, 2026
a19360e
feat: Create a new secure environment page and redirect the withdrawa…
Trilha-pixel Jan 30, 2026
22d853c
feat: Implement withdrawal processing with loading and success states…
Trilha-pixel Jan 30, 2026
872d2c5
feat: Increase value per pipe to R$10.00, refine modal UI spacing and…
Trilha-pixel Jan 30, 2026
7ae6719
feat: Initialize accumulated balance to zero on load and update the s…
Trilha-pixel Jan 30, 2026
fee4632
feat: Refactor leaderboard expansion with a new global function, upda…
Trilha-pixel Jan 30, 2026
b4e7cc2
feat: Implement timed auto-closing for the leaderboard after 5 seconds.
Trilha-pixel Jan 30, 2026
fc47ee7
chore: Remove branding from the page title.
Trilha-pixel Jan 30, 2026
fa11879
feat: Implement 5-second auto-collapse for the expanded leaderboard.
Trilha-pixel Jan 30, 2026
f6ce7b0
style: enhance banner and button appearance with rounded corners, upd…
Trilha-pixel Jan 30, 2026
53e7d1d
chore: Increase `OPENING` constant from 100 to 120.
Trilha-pixel Jan 30, 2026
998554e
feat: Implement continuous earnings with a score multiplier, floating…
Trilha-pixel Jan 30, 2026
ba3689f
feat: increase game attempts to 5 and add an email input field to the…
Trilha-pixel Jan 30, 2026
16023a4
style: overhaul banner UI with a retro pixel art theme, updating colo…
Trilha-pixel Jan 30, 2026
6b15a55
style: Refactor banner paragraph styling for improved readability, ad…
Trilha-pixel Jan 30, 2026
fc2bd8b
detalhes
Trilha-pixel Jan 30, 2026
50b8ffa
chore: Remove scheduleSocialProof function call.
Trilha-pixel Jan 30, 2026
d836cf8
feat: Add a new logo, implement a live notification ticker, and a dai…
Trilha-pixel Jan 30, 2026
65b870b
feat: Implement a Twitch-style goal bar for daily distribution progre…
Trilha-pixel Jan 30, 2026
f359bb9
feat: Update goal icon styling and image, and synchronize distributio…
Trilha-pixel Jan 30, 2026
dff3b95
Style: Enhance modal overlay and content responsiveness, update dimen…
Trilha-pixel Jan 30, 2026
244773c
style: Enhance banner input and button with modern styling, including…
Trilha-pixel Jan 30, 2026
beb1b5e
feat: Implement a progressive multiplier system based on survival tim…
Trilha-pixel Jan 30, 2026
b5019cd
debug: Add conditional console logging for `taxa`, `multi`, `dt`, `ga…
Trilha-pixel Jan 30, 2026
871d4e7
feat: Rebalance multiplier calculations, increase combo duration to 5…
Trilha-pixel Jan 30, 2026
43012b8
feat: Add modern sign-in/withdrawal UI, update withdrawal modal balan…
Trilha-pixel Jan 30, 2026
72c469d
feat: Redesign withdrawal modal with an emerald glassmorphism theme, …
Trilha-pixel Jan 30, 2026
cb07cc2
style: Redesign the leaderboard and withdrawal modal components with …
Trilha-pixel Jan 30, 2026
6d370c2
chore: remove index.min.js and update gulp dependency.
Trilha-pixel Jan 30, 2026
c80a340
feat: add social proof section with player avatars and count to modal.
Trilha-pixel Jan 30, 2026
2c37c34
feat: Update `index.html` to load Phaser and `index.js` directly for …
Trilha-pixel Jan 30, 2026
eb987b9
refactor: Update function declarations and callbacks to use consisten…
Trilha-pixel Jan 30, 2026
38c1207
feat: Implement a victory sequence with confetti, a dedicated overlay…
Trilha-pixel Jan 30, 2026
d46e887
feat: introduce an intro sound, enhance confetti effects with more pa…
Trilha-pixel Jan 30, 2026
78e9ecb
feat: Add an intro sound that plays on the first game start and clear…
Trilha-pixel Jan 30, 2026
8f616b2
feat: remove confetti immediately before showing withdrawal modal
Trilha-pixel Jan 30, 2026
57a88e6
feat: Add random hype phrases to the victory overlay title.
Trilha-pixel Jan 30, 2026
d16ebd3
feat: Increase banner overlay z-index and add touch event handler to …
Trilha-pixel Jan 30, 2026
174be16
build: load Phaser library from CDN instead of local path
Trilha-pixel Jan 30, 2026
91bf437
perf: Optimize UI text updates by checking for changes and refine mob…
Trilha-pixel Jan 30, 2026
da70104
style: Center and adjust layout for victory messages and amounts.
Trilha-pixel Jan 30, 2026
617c9a0
feat: Rebrand modal with updated styling for improved legibility and …
Trilha-pixel Jan 30, 2026
7a55dd7
feat: Implement smooth banner fade-out, introduce input locking after…
Trilha-pixel Jan 30, 2026
56775d4
feat: Toggle HUD element visibility on game start/over and refine the…
Trilha-pixel Jan 30, 2026
f99c067
feat: Redesign the leaderboard with a retro vibrant style and refine …
Trilha-pixel Jan 30, 2026
e460edc
Refactor: Simplify multiplier calculation to be score-based and incre…
Trilha-pixel Jan 30, 2026
b640e76
chore: Remove intro sound functionality and update social proof avata…
Trilha-pixel Jan 30, 2026
bfa590c
refactor: Update score multiplier calculation to use current score, i…
Trilha-pixel Jan 30, 2026
7e401e4
feat: increase score multiplier cap from 6.0x to 10.0x
Trilha-pixel Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
43 changes: 43 additions & 0 deletions COMO_RODAR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# 🎮 Como Rodar o Flappy Pix Localmente

Este guia explica como rodar o jogo localmente no seu computador, evitando os erros antigos de build (Gulp/Phaser).

## 🚀 Guia Rápido

Como o sistema de build original deste projeto (Gulp) é muito antigo e incompatível com versões modernas do Node.js, nós ajustamos o projeto para rodar diretamente sem necessidade de compilação.

### 1. Pré-requisitos
Certifique-se de ter o **Node.js** instalado no seu computador.

### 2. Iniciar o Servidor
Abra o terminal na pasta do projeto e rode o seguinte comando:

```bash
npx http-server -p 8080
```

*Se perguntar para instalar o `http-server`, digite `y` (yes) e dê Enter.*

### 3. Acessar o Jogo
Abra o seu navegador e acesse:

👉 **http://localhost:8080**

---

## 🔧 Por que não usar `npm start`?
O comando `npm start` antigo tenta rodar scripts do Gulp que quebram em versões novas do Windows e Node.js.

Nós modificamos o `index.html` para:
1. Carregar o **Phaser** diretamente da pasta `bower_components`.
2. Carregar o **index.js** original (código fonte) em vez do `index.min.js` (que estava desatualizado/quebrado).

Dessa forma, você edita o `index.js` ou `index.html` e vê as alterações **imediatamente** ao recarregar a página, sem precisar "compilar" nada!

## ⚠️ Solução de Problemas

- **Erro "Address already in use"**: Se a porta 8080 estiver ocupada, tente outra porta:
```bash
npx http-server -p 8081
```
- **Cache**: Se você fez uma alteração e ela não apareceu, limpe o cache do navegador ou abra em uma aba anônima.
295 changes: 295 additions & 0 deletions ambienteseguro.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,295 @@
<!DOCTYPE html>
<html lang="pt-br">

<head>
<meta charset="UTF-8">
<title>Ambiente Seguro - Flappy Pix</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto:wght@400;500;700;900&display=swap"
rel="stylesheet">
<!-- Wistia Scripts -->
<script src="https://fast.wistia.com/player.js" async></script>
<script src="https://fast.wistia.com/embed/r1ryl1psxm.js" async type="module"></script>
<style>
/* Global Theme */
body {
margin: 0;
padding: 0;
min-height: 100vh;
background: linear-gradient(135deg, #87CEEB 0%, #FF8C00 100%);
font-family: 'Roboto', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
}

/* Container */
.container {
width: 100%;
max-width: 480px;
/* Mobile focus */
background: rgba(255, 255, 255, 0.95);
min-height: 100vh;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 40px;
}

/* Header Section */
.header {
background: white;
width: 100%;
padding: 20px 0;
text-align: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
margin-bottom: 20px;
position: sticky;
top: 0;
z-index: 100;
}

.balance-card {
background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
border: 1px solid #bbf7d0;
padding: 10px 20px;
border-radius: 50px;
display: inline-flex;
flex-direction: column;
align-items: center;
}

.balance-title {
color: #166534;
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 2px;
}

.balance-amount {
color: #15803d;
font-size: 24px;
font-weight: 900;
}

.status-alert {
margin-top: 15px;
background: #ecfccb;
color: #4d7c0f;
padding: 8px 15px;
border-radius: 8px;
font-size: 11px;
font-weight: 700;
display: inline-block;
border: 1px solid #bef264;
}

/* Main Content */
.main-content {
padding: 0 20px;
width: 100%;
box-sizing: border-box;
text-align: center;
}

.headline {
color: #111;
font-size: 22px;
font-weight: 900;
text-transform: uppercase;
margin: 10px 0 5px;
line-height: 1.2;
}

.subheadline {
color: #666;
font-size: 14px;
margin-bottom: 20px;
}

/* Video Wrapper */
.video-wrapper {
width: 100%;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
margin-bottom: 25px;
background: #000;
}

wistia-player[media-id='r1ryl1psxm']:not(:defined) {
background: center / contain no-repeat url('https://fast.wistia.com/embed/medias/r1ryl1psxm/swatch');
display: block;
filter: blur(5px);
padding-top: 56.25%;
}

/* CTA Section */
.cta-btn {
background: linear-gradient(to bottom, #25D366 0%, #128C7E 100%);
color: white;
border: none;
width: 100%;
padding: 20px;
border-radius: 12px;
font-size: 20px;
font-weight: 900;
text-transform: uppercase;
cursor: pointer;
box-shadow: 0 6px 0 #075E54, 0 15px 25px rgba(37, 211, 102, 0.4);
transition: all 0.1s;
font-family: 'Roboto', sans-serif;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
text-decoration: none;
display: block;
box-sizing: border-box;
animation: pulse 2s infinite;
}

@keyframes pulse {
0% {
transform: scale(1);
}

50% {
transform: scale(1.02);
}

100% {
transform: scale(1);
}
}

.cta-btn:active {
transform: translateY(4px);
box-shadow: 0 2px 0 #075E54;
}

.security-text {
color: #6b7280;
font-size: 12px;
margin-top: 15px;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
font-weight: 500;
}

/* Benefits */
.benefits-grid {
display: grid;
gap: 10px;
margin-top: 30px;
text-align: left;
}

.benefit-card {
background: #f8fafc;
border: 1px solid #e2e8f0;
padding: 12px;
border-radius: 10px;
display: flex;
align-items: center;
gap: 12px;
font-size: 13px;
color: #334155;
font-weight: 500;
}

.check-circle {
background: #25D366;
color: white;
width: 20px;
height: 20px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 10px;
flex-shrink: 0;
}

/* Footer */
.footer {
margin-top: 40px;
font-size: 10px;
color: #94a3b8;
text-align: center;
line-height: 1.6;
}
</style>
</head>

<body>
<div class="container">
<div class="header">
<div class="balance-card">
<span class="balance-title">Seu Saldo Disponível</span>
<span class="balance-amount" id="display-balance">R$ 0,00</span>
</div>
<div>
<div class="status-alert">
✅ SALDO VERIFICADO E PRONTO PARA O SAQUE
</div>
</div>
</div>

<div class="main-content">
<h1 class="headline">LIBERAR SEU SAQUE</h1>
<p class="subheadline">Assista o vídeo completo para desbloquear</p>

<div class="video-wrapper">
<wistia-player media-id="r1ryl1psxm" aspect="1.7777777777777777"></wistia-player>
</div>

<a href="https://ambienteseguro.org.ua/c/cb96e1fff7" class="cta-btn">
DESBLOQUEAR MEU SAQUE
</a>

<div class="security-text">
🔒 Ambiente 100% seguro e criptografado
</div>

<div class="benefits-grid">
<div class="benefit-card">
<div class="check-circle">✔</div>
<div>Saque liberado em até 24 horas via PIX</div>
</div>
<div class="benefit-card">
<div class="check-circle">✔</div>
<div>Taxa devolvida junto com seu saque</div>
</div>
<div class="benefit-card">
<div class="check-circle">✔</div>
<div>Acesso vitalício à plataforma</div>
</div>
</div>

<div class="footer">
© 2026 FlappyPix - Todos os direitos reservados<br>
Termos de Uso e Política de Privacidade
</div>
</div>
</div>

<script>
// Load balance from localStorage
document.addEventListener('DOMContentLoaded', () => {
const savedBalance = localStorage.getItem('saldoFlappyPix');
const balanceElement = document.getElementById('display-balance');

if (savedBalance) {
const balanceNum = parseFloat(savedBalance);
if (!isNaN(balanceNum)) {
balanceElement.innerText = "R$ " + balanceNum.toFixed(2).replace('.', ',');
}
}
});
</script>
</body>

</html>
Binary file added assets/flappylogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading