Memorize the code. Survive the distraction. Don't panic.
We all know the feeling. You look at your authenticator app, see a 6-digit code, look back at your screen, get distracted by a Slack notification, and suddenly your mind goes completely blank.
2FA: The Game gamifies that exact flavor of modern anxiety.
- Memorize Token: You are shown a 6-digit code. As you level up, the time you have to look at it gets drastically shorter.
- Survive the Distraction: The code vanishes and is replaced by a random life event (e.g., "Kid is screaming", "Buffering...", "Cat jumped on keyboard"). You must hold the numbers in your short-term memory through the chaos.
- Verify Identity: Type the code. Warning: The input auto-submits the moment you hit the 6th keystroke. There is no backspacing your final mistake.
- Dynamic Difficulty: The viewing window shrinks by 200ms every level.
- Psychological Warfare: Random 1-4 second "distraction" phases break your concentration.
- Auto-Submit Anxiety: Instant validation upon the 6th digit entered. Typo at the end? Access Denied.
- Streak Multipliers: Get a percentage bonus to your score for hitting perfect, first-try entries in a row.
- Responsive UI: Dark-mode, terminal-inspired design using Tailwind CSS.
- Frontend: React
- Build Tool: Vite
- Styling: Tailwind CSS
Want to induce rage on your own machine?
- Clone the repository:
git clone [https://github.com/yourusername/2fa-the-game.git](https://github.com/yourusername/2fa-the-game.git)