Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚩 Flag Duel

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.

Why it's actually hard

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

How to play

  1. Open index.html in a browser — no build step, no server required.
  2. Hit Let's Play!
  3. You'll get 10 rounds. Each one shows a country name and two flags — click, or use the keyboard.
  4. See how many you get right, then try again — the matchups shuffle every round.

Keyboard shortcuts

Key Action
Move between the two flags
Tab Cycle focus
Enter Select a flag / advance to the next question
Esc Clear focus

Tech

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.

Running it

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages