The art of vexillology: curating Globdrop's diverse flag scenarios
Vexillology is the study of flags; the word comes from the Latin vexillum, a banner. A flag game is mostly a vexillology problem in disguise: which flags go in, which go together, and which ones are too alike to be fair. When we added flag scenarios to Globdrop, the code was the easy part. Choosing the flags took longer.
The four scenarios hold 182 flags between them: 74 in World, 35 in Europe, 19 in Spain and 54 in Fun. This post goes through what is in each set, how every flag got its difficulty label, which near-identical flags ended up in the same set and what the game does about them, and what the curation still gets wrong. Everything here comes from the data files in the game’s repository (public/data/flags/*.json) and their git history.
Update, 8 November 2026
The World and Europe sets described below no longer exist as such. world.json (74 flags) and europe.json (35) were replaced by countries.json, a single list of 197 countries, each with a continent and its own difficulty label. Globdrop now has eight flag scenarios: "All countries" (197), Europe (47), Africa (54), Asia (47), the Americas (35), Oceania (14), Spain (19) and Fun (54). The five continent sets are slices of the 197, so the game has 270 different flags. Spain and Fun are unchanged. The text below is written about the four original sets, with the main changes marked. The look-alike groups are still real, but set membership and some labels moved: Indonesia and Monaco, which could never meet in one game because they were in different sets, can now both come up in "All countries", and Indonesia is `easy` there where the section below says `medium`.
What goes in each set
Each set is a JSON file. Every entry has a code, a difficulty, a name in Catalan, Spanish and English and, for some flags, a list of other accepted spellings.
World (world.json, 74 flags) is national flags from every continent. It starts with the flags most people have seen, such as the United States, Japan and Brazil, and goes on to ones with detailed emblems, such as Bhutan’s thunder dragon, Sri Lanka’s lion and Mongolia’s soyombo. It was not every country: the World Capitals map scenario covers 193 capitals, but the flag set stopped at 74. Chad and Côte d’Ivoire, for instance, weren’t in it. They are in the 197 of “All countries” now.
Europe (europe.json, 35 flags) is the continent on its own, down to its smallest states: Vatican City, San Marino, Liechtenstein, Monaco and Andorra. Sixteen of its flags were also in World, and being in both sets didn’t mean the same label: Sweden and Switzerland were medium in World and easy in Europe, and Turkey went the other way, easy in World and medium in Europe. A flag was labelled against the rest of its set, not on an absolute scale. With countries.json each country has one label for every set it is in: Sweden and Switzerland are now easy and Turkey medium, in All countries and in Europe alike.
Spain (spain.json, 19 flags) is the 17 autonomous communities plus the autonomous cities of Ceuta and Melilla. These flags have no ISO code, so the game ships them as SVG files in public/flags/es/ and uses codes of our own (catalunya, pais-basc, castella-lleo).
Fun (fun.json, 54 flags) is the set for flags that aren’t a country’s:
- organisations: the UN, NATO, the European Union, the Red Cross, the WHO, OPEC, the African Union;
- cities: Barcelona, Tokyo, Amsterdam, Paris, London, Chicago;
- regions and territories: Bavaria, Quebec, Brittany, Cornwall, Friesland, Corsica, Hong Kong, Macau;
- historical flags: the Roman Empire’s SPQR, the Cross of Burgundy, the Republic of Venice, Prussia, the Qing Dynasty, the Soviet Union;
- and some curiosities: the Jolly Roger, the Principality of Sealand, Esperanto and Antarctica.
Three Spanish flags appear in both Spain and Fun, with the same image file: the Community of Madrid, the Canary Islands and the Basque Country’s Ikurriña. Their labels differ: the Ikurriña is easy among the Spanish communities and hard in Fun. Catalonia is in Spain as the Senyera; Fun has the Blue Estelada, which is a different flag.
How every flag got its label
There are three labels, and the difficulty you pick in the game is a filter on them. Easy plays only easy flags, Medium plays easy and medium, and Hard plays the whole set. The labels are a judgement we made flag by flag, based on how often a flag is seen outside a geography class, not something measured from players. Roughly:
easy: flags widely seen on international news and at sports events, such as Canada, Japan, Brazil or the UN.medium: flags that are well known in their region, or that follow a common pattern with one detail to remember, such as Jamaica, Kenya, Aragon or Barcelona.hard: small states, historical flags and flags with detailed heraldry, such as Bhutan, the Isle of Man, Castile and León or the Red Crystal.
In the original sets the split was close to even in World (24, 25 and 25), and harder at the top in Europe, where 15 of the 35 flags were hard: the five microstates, Luxembourg, Malta, Iceland and seven flags from the Balkans and Central Europe. Spain on Easy has only five flags (Andalusia, the Basque Country, Catalonia, Galicia and the Community of Madrid), so a game there lasts five rounds instead of the usual ten.
Look-alikes that share a set
Some flags are hard because they are detailed. Others are hard because another flag is almost the same. What matters for the game is whether both flags are in the same set, since a player can only confuse two flags that can come up in the same game. Here are the pairs and groups that do, by set.
Indonesia and Poland
Both are two horizontal bands, one red and one white. Indonesia’s is red over white; Poland’s is white over red. Both are in World, both medium, so they can appear in the same game. Poland is also in Europe, where its close neighbour is Monaco: red over white, like Indonesia.
Monaco, and why proportions help
Monaco and Indonesia have the same design, but in the original sets only Monaco was in Europe and only Indonesia in World, so they never met in one game (since 8 November they can, in All countries). If they did, the shape would tell them apart. The game shows each image at its own proportions (the CSS sets a maximum height and lets the width follow), and the 320-pixel images it loads from flagcdn.com are 320 × 256 for Monaco (4:5), 320 × 213 for Indonesia (2:3) and 320 × 200 for Poland (5:8). Ireland’s is 320 × 160 (1:2), longer than Italy’s 2:3.
Ireland and Italy
Both are vertical green, white and a third colour: orange for Ireland, red for Italy. Both are in World and Europe. Italy is easy in both and Ireland medium, so they can share a game from Medium upwards. Côte d’Ivoire, the flag usually paired with Ireland (orange, white, green), isn’t in the game.
Netherlands and Luxembourg
Horizontal red, white and blue. Luxembourg’s blue is lighter, and its image is longer (3:5 against the Netherlands’ 2:3). Both are in Europe, the Netherlands medium and Luxembourg hard, so they meet on Hard.
Slovakia, Slovenia and Russia
All three use white, blue and red in horizontal bands. Russia’s has nothing else. Slovakia and Slovenia each add a coat of arms near the hoist, and telling those two apart means knowing the shields. All three are in Europe; Slovakia and Slovenia are both hard. Croatia, also hard, uses the same colours in a different order with a chequered shield.
Romania and Andorra
Romania’s flag is vertical blue, yellow and red. Its usual twin, Chad, isn’t in the game, but Andorra is in Europe with the same three colours in the same order and its coat of arms in the centre. Both are hard, so they can meet on Hard.
The Nordic crosses
Sweden, Denmark, Norway, Finland and Iceland all use an off-centre cross, and all five are in both World and Europe. Fun adds two more from the same family, the Faroe Islands and the Åland Islands, both hard.
The Senyera family
In Spain, four flags share the four red bars on yellow. Catalonia’s has nothing else; Aragon adds its coat of arms; the Valencian Community adds a blue strip with a crown along the hoist; and the Balearic Islands add a purple canton with a white castle. The strategy guide has a tip for each.
Red Cross, Red Crescent, Red Crystal
All three are in Fun: the Red Cross as easy, the Red Crescent and the Red Crystal as hard. Same white field, same red, three different symbols.
What the game does with look-alikes
Nothing special, and it’s worth being clear about that. The engine (src/engine/flag-engine.ts) treats every flag the same way.
In Multiple Choice, the three wrong options are drawn at random from the pool, so a look-alike shows up as an option only by chance. If Indonesia comes up, you will usually see three unrelated countries rather than Poland. So the pairs above matter most when both flags come up as questions in the same game, or in Write mode, where there are no options to compare against.
In Write mode the answer must match one of the flag’s names, in any of the three languages, after removing accents, case, dots and apostrophes. Partial names don’t count, so for the Slovakia and Slovenia pair, “Slov” is not an answer. How the matching works, and the cases it gets wrong, is in how Write mode works.
Names are part of the curation
Picking a flag also means picking what counts as its name. Some entries carry aliases for spellings people actually use: “USA” and “America” for the United States, “Holland” for the Netherlands, “Türkiye” for Turkey, “Holy See” for Vatican City, “Euskadi” for the Basque Country, “Galiza” for Galicia. In Fun, many names have a bracket, and both halves are accepted: “Pirate Flag (Jolly Roger)” takes “Jolly Roger”, and “Cross of Burgundy (Spanish Empire)” takes “Spanish Empire”.
The data has also needed fixing. On 24 September 2026, two commits in the game’s repository changed it: one removed a second copy of Canada from world.json (it had 75 entries for 74 flags, so Canada could come up twice in a game) and added a test that fails if any flag file repeats a code; the other added the aliases above and moved Write mode to a single normaliser.
What the curation still gets wrong
- World was 74 countries, not all of them, and a player who knew every flag in it still didn’t know the world’s flags. That is fixed by the 197 of All countries.
- The labels are our judgement. We haven’t checked them against how often players miss each flag, because the game doesn’t collect per-flag results.
- Aliases are uneven between sets. In Spain, “Madrid” is enough for the Community of Madrid and “Canarias” for the Canary Islands; in Fun, the same flags have no aliases, so you need a full name in one of the three languages.
- Multiple Choice doesn’t use the look-alike groups above. Drawing wrong options from the same group would make it harder in a controlled way; for now, it’s random.
How a flag game plays from start to finish, and how it is scored, is in Introducing Flag Mode. The counts for every set are on the Globdrop page.