Skip to content

A rage-inducing arcade game that simulates the pure anxiety of trying to remember and enter a 2FA code while life distracts you. Built with React, Vite, and Tailwind CSS.

Notifications You must be signed in to change notification settings

mtickle/mfa-game

Repository files navigation

2FA: The Game 🔐 ⏱️

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.

🎮 How to Play

  1. Memorize Token: You are shown a 6-digit code. As you level up, the time you have to look at it gets drastically shorter.
  2. 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.
  3. Verify Identity: Type the code. Warning: The input auto-submits the moment you hit the 6th keystroke. There is no backspacing your final mistake.

✨ Features

  • 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.

🛠️ Tech Stack

🚀 Local Setup

Want to induce rage on your own machine?

  1. Clone the repository:
    git clone [https://github.com/yourusername/2fa-the-game.git](https://github.com/yourusername/2fa-the-game.git)

About

A rage-inducing arcade game that simulates the pure anxiety of trying to remember and enter a 2FA code while life distracts you. Built with React, Vite, and Tailwind CSS.

Resources

Code of conduct

Stars

Watchers

Forks

Contributors