A fast-paced browser game based on the Stroop effect — a color word appears in a mismatched ink color, and you must identify the ink color, not what the word says.
- 20 rounds per game with a 2-second timer per round
- Bonus points for fast answers
- Streak counter with fire mode 🔥
- Global leaderboard — top 10 best scores across all players (powered by Firebase)
- Player name saved in browser (asked only once)
- Change name anytime from Settings
- Single HTML file — no install, no build step
The leaderboard uses Firebase Realtime Database (free tier, no credit card needed).
One-time setup (~2 minutes):
- Go to console.firebase.google.com
- Create a project (any name — disable Analytics if prompted)
- Go to Build → Realtime Database → Create Database → Start in Test mode
- Copy your database URL — it looks like:
https://your-project-default-rtdb.firebaseio.com - Open
index.htmland find this line:const FIREBASE_URL = 'YOUR_FIREBASE_URL';
- Paste your URL:
const FIREBASE_URL = 'https://your-project-default-rtdb.firebaseio.com';
- Re-upload the file
Every player who visits your hosted site will now share the same global leaderboard. Scores are stored with one entry per player name — only their personal best is kept.
Vercel
- Go to vercel.com/new
- Upload
index.html - Deploy
index.html — the entire game (HTML + CSS + JS in one file)
README.md — this file
- Vanilla HTML, CSS, JavaScript — zero dependencies, no frameworks
- Firebase Realtime Database — global score storage (best score per player)
- Google Fonts — Space Mono + Syne
localStorage— saves player name between sessions
- Enter your name (saved for future visits)
- A color word appears in a mismatched ink color
- Tap the ink color — not what the word says
- Answer before the 2-second timer runs out
- Score is based on accuracy + speed (faster answers earn bonus points)
- Chain correct answers for a streak 🔥
The Stroop effect is a psychological phenomenon where your brain takes longer to process the ink color of a word when the word itself names a different color. For example, seeing BLUE written in red ink creates cognitive interference — your reading instinct fights your color perception. This game trains you to override that instinct under time pressure.