Skip to content(if available)orjump to list(if available)

Show HN: Learn where countries are on the world map with Spaced Repetition

Show HN: Learn where countries are on the world map with Spaced Repetition

84 comments

·March 17, 2025

Hi HN,

I made a web game to practice country locations a while ago and HN liked it, so I thought I'd post my updated version as well.

As for how the game works and feels, I'd really recommend you checking it out for yourself, it's free, no signup, no ads.

The tech stack is Vue + ts + Tailwind/Daisy for the looks. The learning algorithm is a slight modification of the ts version of FSRS.

If you have anything to add, it's open source as well (https://github.com/koljapluemer/learn-worldmap), although not well documented yet.

In the end it's just a little sideproject, but I hope you enjoy it — any feedback welcome :)

ks2048

What list did you use for the list of "countries"? (I only ask because the first one I got was Northern Cyprus which is only recognized by Turkey and not a UN state).

edit: I see the code is fetching from the following, which has 177 features:

https://raw.githubusercontent.com/holtzy/D3-graph-gallery/ma...

poizan42

It also has Greenland which is just an autonomous region of Denmark, but not the Faroe Islands which is our other autonomous region. I guess Greenland is just more visible due to its size (both regions actually have about the same population)

radicalcentrist

Interesting, thank you for the link. This answers a few questions I had about preferred country names while trying out the game, such as Czech Republic/Czechia, Swaziland/Eswatini, Turkey/Turkiye. I also found the partially recognized states curious, especially Palestine being reduced to "West Bank".

netsharc

Ah, geo-politics meets technology. Imagine flying into a country, and the border guards tell you "Did you make this website? Well, the depiction of our country is a few pixels off, that offends us. Hands behind your back.".

Or that that body of water is "Gulf of America" now...

C.f.: https://www.vox.com/culture/2023/7/13/23791805/barbie-map-ni...

blackbrokkoli

Thanks everyone for the feedback. I used a pretty random svg library and was happy that it worked for now, will look into this.

sh1mmer

Also “England” but the shape is the UK.

ethanwillis

It also includes "Somaliland" which apparently is only somewhat recognized by China.

yesbabyyes

I had a similar reaction to the borders of Western Sahara, where it seems like most of it is part of Morocco in this map.

Apart from these issues, it's really nice, well done!

kelseydh

This is a great idea, though I feel like if you guessed the country accurately the first time I would like it move on to another country. That or a button that lets me skip to new countries. I know where Australia and it's a bit tedious to be forced into spaced repetition for it three times.

imoverclocked

-1

I'm surprisingly bad at the first 5 countries suggested but I managed to guess the general region well enough to hit it correctly on the global map.

At the same time, I feel like a lot more people know where Australia is compared to (say) Laos.

I love the zooming in; Did I just know that country was in Europe or did I really know which map-feature was the country?

blackbrokkoli

interesting perspective, as well.

that's really the core struggle with learning games: not being too boring, not being too repetitive, not introducing stuff too fast, enabling user choice but also making sure learning is achieved...

will take both your point and parent poster's point into account :)

imglorp

+1

Also: After you guess one, a button to jump to Wikipedia to learn more.

Today I learned Lesotho is the largest sovereign enclave; there are two smaller on the Italian peninsula.

gaoryrt

That's a good idea.

dwringer

I had the same experience. I played for a few minutes, and the only repetitions I got were countries I already identified on the first guess. I didn't get repeats of any country that I missed initially.

blackbrokkoli

Good idea, will implement soon, thanks

butshouldyou

Nice little game! One correction: Swaziland has been called Eswatini since 2018. Lots of websites still use the old name, unfortunately.

pixelpoet

Eish, even as a South African (who later emigrated) I didn't know that, and now need to learn this new name. So much for "Swazi Gold"...

avvt4avaw

Some Welsh, Scottish and Northern Irish people may take issue with your definition of "England"

butshouldyou

So does this english person! That's the UK.

LouisSayers

Nice work! It's quite cool.

Feedback:

  - It'd be great to be able to move the map around, zoom in / out - staying in one place feels a bit restricting.
  - For some smaller countries you can't actually see where they were once the ring is put over them
  - Once a country has been identified it'd be handy to see their neighbouring countries to add some more context to where a country is.
  - It'd also be nice to learn a bit more about a country (e.g. unique things about it) that may help further cement the idea of a country so that it's more than just a name on a map.

acrophiliac

> Once a country has been identified it'd be handy to see their neighbouring countries

Yes, this would definitely aid memory by providing context. Remembering shapes in isolation is hard, but if there is context it's much easier.

floodfx

Love this! Played Worldle (https://worldle.teuteuf.fr/) for a while and this would have been helpful.

Great application of spaced repetition beyond cards.

Graziano_M

Try out travle.earth

caphector

I wish it had a kayak mode so the traveler could visit islands too.

codethief

Came here to mention Travle. Such a fun game! I've learnt a ton of geography through it in recent months!

codethief

Nice job!

A few observations & thoughts:

- With remote islands somewhere in the oceans, the last zoom level isn't very effective since the map will essentially only show the island you're supposed to identify.

- The map's resolution could be higher.

- The challenge (top right) doesn't work for me in Firefox for Android. It always tells me I have guessed wrong (as if I had accidentally tapped somewhere on the map) when in reality I haven't even made a guess in the first place and was waiting for the game to tell me which country to identify.

oskarkk

> With remote islands somewhere in the oceans, the last zoom level isn't very effective since the map will essentially only show the island you're supposed to identify

In some cases with these tiny islands, I see essentially just some specks on the map (where one island is one country, other island is another country). In these cases I would like to see some minimap in the corner, that would show which part of the world I'm looking at. Better resolution would also help (to make the shapes of these islands more recognizable).

But overall, nice app! Would be nice to have some counter of total number of guesses, guesses today, and maybe success ratio for the day or something. And the best thing would be the percent of the countries I have well memorized, something like a progress bar, with the goal of memorizing all the countries.

whiterook6

I'd like to play this on my phone but everytime I try to zoom or pan it thinks I'm making a guess in the middle of the ocean. Also it often gives me a success when the country is definitely not within the chosen circle. Sometimes it starts a new view with the circle already in the right place.

blackbrokkoli

Trick is you don't have to pan or zoom — but yeah, successfully communicating this has been the main UX challenge so far...

martindbp

Love it!

Last summer I put together a flag quizzing game with my niece, who's a geography nerd: https://flagsaroundthe.world/

I think minimally contrastive examples work well for learning, i.e. you want to first learn to distinguish between broadly different categories, and focus on more and more similar examples over time. This little app doesn't have scheduling at all, it just samples examples based on previous responses, so sampling examples you got right exponentially less often as you keep answering correctly. I think sampling has some interesting advantages to SRS scheduling actually. Add new "items" becomes a straight sampling problem, where you can set a constant probability for each item that hasn't been seen yet.

radicalcentrist

This is awesome, I got way more sucked into this than I expected. If you're open to adding more features, a "custom playlist" would be really cool. I'd love to drill myself on the Balkans or West Africa, for instance.

blackbrokkoli

It's on the "maybe" issue list :)

sbergjohansen

Second this

jmole

This is so cool. I modified the script so that the countries are a bit darker (#777), and I found that it helped the borders pop a lot more. It would probably be equally interesting to play this game with no borders at all.

Not to scope creep, but it would be great if users could pick from 1 or 2 themes. Or maybe just refactor it so that changing a global var from the javascript would let you change the colors.

edit: also the collective north and south poles take up about 60% of the zoomed out map. I bet you could crop most of antarctica and a significant portion of the upper northern hemisphere without degrading the experience.

scottmcf

This is an absolutely excellent way to learn, I am surprised at just how effective it was. I'd love a "manual" mode that let me discard countries/mark them to stay in rotation.

RheingoldRiver

Yeah, one of the first countries I was asked to identify was "USA" and......that's just a waste of time

blackbrokkoli

interesting idea, will put it on the long-term todo list :)