Where does Turkey go? One list of 197 flags, five continents and a reverse mode
Until 8 November, the country flags in Globdrop lived in two files: a world quiz of 74 flags and a Europe quiz of 35. Every new quiz would have meant a new file, with the same countries copied into it and a chance for the copies to drift apart. We replaced both with one master list of 197 countries. Every country-flag quiz is now that list with a filter on top.
That change also made room for something the old setup could not do cheaply: a quiz per continent, and a new way to answer. In Country → flag, the game gives you a name and you pick its flag among four. This post covers the file, the places where a country had to be put on one side of a line, how difficulty is spread, and how the four options are chosen. All of it is from Globdrop’s code and data as merged on 8 November.
One file, six quizzes
The list is public/data/flags/countries.json. Each entry has a code, a continent, a difficulty and a name in Catalan, Spanish and English, and some have aliases for Write mode (46 countries carry 96 spellings between them, such as Türkiye for Turkey). The engine knows which quiz uses which file in one small table, FLAG_SCENARIO_SOURCES in src/engine/flag-engine.ts. Simplified:
'flags-world': { file: 'countries.json' },
'flags-europe': { file: 'countries.json', continent: 'europe' },
'flags-africa': { file: 'countries.json', continent: 'africa' },
'flags-asia': { file: 'countries.json', continent: 'asia' },
'flags-americas': { file: 'countries.json', continent: 'americas' },
'flags-oceania': { file: 'countries.json', continent: 'oceania' },
When a game starts, the engine loads the file and, if the quiz has a continent, keeps only the entries with that continent. There is nothing else to the quizzes. Spain’s autonomous communities (19 flags) and Fun with Flags (54) are not countries and still read their own files; the vexillology post explains how those sets were chosen.

Because continent holds a single value, a country is in exactly one continent quiz, and the five add up to the whole: 47 + 54 + 47 + 35 + 14 = 197.
A single file also lets us test the data once. tests/unit/data.test.ts checks that there are 197 countries with unique codes, that every one has a valid continent, difficulty and three names, and that no accepted answer (a name or an alias, in any language) belongs to two different countries. That last check means a typed answer such as Macedonia or Korea points to one country. How typed answers are matched is the subject of Type-to-answer in six languages.
The countries that could go either way
A one-value continent field forces a choice for every country that spans two continents or sits on the border between them. These are the calls the file makes:
| Country | continent | difficulty |
|---|---|---|
| Russia | europe | easy |
| Turkey | europe | medium |
| Cyprus | europe | medium |
| Georgia | asia | medium |
| Armenia | asia | medium |
| Azerbaijan | asia | medium |
| Kazakhstan | asia | medium |
| Timor-Leste (stored as “East Timor”) | asia | hard |
| Egypt | africa | easy |
| Trinidad and Tobago | americas | hard |
We have no written rationale for these in the repository: the commits and the code do not explain them, and we are not going to make one up. The one thing git can say is that Russia and Turkey were already in the old 35-flag Europe quiz, so those two did not move. Cyprus was not in it; it arrived with the other 11 countries the Europe quiz gained, going from 35 to 47. Everything else in the table is simply our choice, made when the file was written, and a different atlas would draw some of these lines elsewhere.
Four more entries are worth a mention: the list also includes Palestine (asia, easy), Taiwan (asia, medium), Kosovo (europe, hard) and Vatican City (europe, hard). Each has its own flag and a place in the quiz, and that is all the file says about them.
How difficulty splits inside each continent
Every country has a hand-written difficulty of easy, medium or hard. Nothing in the repository computes it from play data. What the engine does with it is in startGame:
// Easy: easy only. Medium: easy + medium. Hard: all.
So difficulty is a ceiling. On Hard the pool is every flag in the quiz, easy ones included. These are the counts, and each continent comes out as close to thirds as its size allows:
| Continent | Easy | Medium | Hard | Pool on Easy / Medium / Hard |
|---|---|---|---|---|
| Europe | 16 | 15 | 16 | 16 / 31 / 47 |
| Africa | 18 | 18 | 18 | 18 / 36 / 54 |
| Asia | 16 | 16 | 15 | 16 / 32 / 47 |
| Americas | 12 | 12 | 11 | 12 / 24 / 35 |
| Oceania | 5 | 4 | 5 | 5 / 9 / 14 |
| All countries | 67 | 65 | 65 | 67 / 132 / 197 |
The split is by continent, not by world, which means “easy” is relative to where you are. Europe’s easy 16 include Russia and Ukraine; Asia’s include Singapore and the United Arab Emirates. Europe’s hard 16 are the microstates and the Balkans: Vatican City, San Marino, Liechtenstein, Monaco, Andorra and Kosovo among them. In Africa the hard 18 run from Benin to Togo.
A game is 10 flags, or the whole pool if it is smaller (Math.min(10, shuffledPool.length)). Only Oceania gets there: its Easy game is 5 rounds and its Medium game is 9. The data test also requires at least four easy flags in every continent.
What Country → flag changes
Multiple Choice shows a flag and asks for a name. Write Name shows a flag and asks you to type one. Country → flag ('reverse' in src/types/flag.ts) turns it round. The screen shows “Which is the flag of…?” and a country name, in your interface language, with four flags in a two-by-two grid.

The images carry a generic alt text, “Candidate flag”, on purpose: a screen reader reading out the country would give the answer away. Scoring is the same as in Multiple Choice, 100 points plus up to 100 for time left on the 15-second clock, so a correct answer with the full 15 seconds left scores 200.
When you get it wrong, the correct flag turns green, the one you picked turns red, and the message names the country whose flag you picked, so a wrong answer still teaches you one flag.

If the clock runs out, the message is “Time’s up!” followed by the country’s name. Names come from getLocalized, which falls back to English when a language has no name, so in Chinese, Arabic and Japanese the prompt shows the English name: the flag names exist in three languages only.
We have not measured whether Country → flag is harder than Multiple Choice. What is different is the task. You have to recall what a country’s flag looks like, instead of recognising a flag that is already in front of you. And four flags are on screen at once, so two that look alike can be side by side.
How the four options are filled
The correct flag is one option. The other three are picked at random from the difficulty pool, excluding the correct one:
const distractors = this.shuffle(others(this.pool)).slice(0, 3);
if (distractors.length < 3) {
// top up from the whole scenario list
}
If the pool has fewer than three other flags, the engine tops up from the full list of the quiz, without repeating any. Our tests cover it with a made-up file where the Oceania easy pool has one flag. With the real data it never fires: the smallest pool is Oceania’s Easy with 5 flags, so there are always at least four others to draw from. It is a safeguard for the next quiz someone adds.
There is no similarity logic. The options are random, and whether a lookalike shows up is down to the draw. Ask for the Netherlands on Europe Hard and Luxembourg is among the three distractors 3 times in 46, about 1 in 15. These are pairs worth knowing, and where they can meet:
| Pair | Same pool in |
|---|---|
| Chad (Africa, medium) and Romania (Europe, medium) | only All countries, on Medium or Hard |
| Indonesia (Asia, easy) and Monaco (Europe, hard) | only All countries, on Hard |
| Monaco (hard) and Poland (Europe, easy) | Europe on Hard, and All countries on Hard |
| Mali and Guinea (Africa, both medium) | Africa on Medium or Hard, and All countries on Medium or Hard |
| Netherlands (Europe, easy) and Luxembourg (Europe, hard) | Europe on Hard, and All countries on Hard |
Chad and Romania are the same three vertical stripes, and in the images the game loads from flagcdn.com the blue differs only slightly (#002664 against #002b7f). Indonesia and Monaco are both red over white; Poland is the same two colours the other way up. Mali and Guinea use the same three colours in opposite order. The Netherlands and Luxembourg differ in the shade of the bottom stripe. Since Chad and Romania are on different continents, no continent quiz can put them in one question, and the world quiz is the only place they can meet.
What it does not do
- Random options. Nothing steers the draw towards lookalikes or away from them.
- Borderline calls are ours. The table above is the file as it stands, with no source behind it. If you disagree with where Kazakhstan or Cyprus sits, the file is one line per country.
- Difficulty is a label. It is the same for everyone, and it is not adjusted by how often players get a flag right.
- Short Oceania games. Easy is 5 questions and Medium 9, because the pool runs out before 10.
You can try the quizzes at globdrop.vedratic.com, and how to play explains rounds and scoring. For how the flag modes began, see Introducing Flag Mode.