Can you match the flag to the country?
Flag Duel is a fast, no-nonsense flag-guessing game built for people who already know their easy flags. Every round gives you a country and two flags — your job is to pick the right one before the wrong one tricks you.
A dad-and-son project: we picked the countries, and hand-paired every matchup ourselves.
Most flag quizzes ask "is this Japan or Brazil?" — not much of a duel. We did two things differently:
- No gimmes. We deliberately skipped the flags everyone already knows cold (no USA-vs-Kenya nonsense). The pool leans into countries whose flags people mix up in real life.
- Every matchup is a near-miss on purpose. Each country has a hand-picked list of visually similar flags, and the game draws its wrong answer from that list — stripes vs. stripes, crosses vs. crosses, tricolors vs. tricolors. Chad shows up next to Romania. Ireland shows up next to Ivory Coast. Indonesia shows up next to Monaco (yes, they're basically the same flag). You have to actually know the flag, not just recognize "not that shape."
- Open
index.htmlin a browser — no build step, no server required. - Hit Let's Play!
- You'll get 10 rounds. Each one shows a country name and two flags — click, or use the keyboard.
- See how many you get right, then try again — the matchups shuffle every round.
| Key | Action |
|---|---|
← → |
Move between the two flags |
Tab |
Cycle focus |
Enter |
Select a flag / advance to the next question |
Esc |
Clear focus |
Plain HTML, CSS, and JavaScript — no frameworks, no dependencies, no build tools. Flag images are rendered with Unicode regional indicator emoji, so there's nothing to download or host. Sound effects are synthesized live with the Web Audio API.
There's nothing to install. Clone the repo and open index.html:
git clone git@github.com:jeperry/FlagDuel.git
cd FlagDuel
open index.html