TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

217 点作者 blackbrokkoli2 个月前
Hi HN,<p>I made a web game to practice country locations a while ago and HN liked it, so I thought I&#x27;d post my updated version as well.<p>As for how the game works and feels, I&#x27;d really recommend you checking it out for yourself, it&#x27;s free, no signup, no ads.<p>The tech stack is Vue + ts + Tailwind&#x2F;Daisy for the looks. The learning algorithm is a slight modification of the ts version of FSRS.<p>If you have anything to add, it&#x27;s open source as well (<a href="https:&#x2F;&#x2F;github.com&#x2F;koljapluemer&#x2F;learn-worldmap" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;koljapluemer&#x2F;learn-worldmap</a>), although not well documented yet.<p>In the end it&#x27;s just a little sideproject, but I hope you enjoy it — any feedback welcome :)

48 条评论

ks20482 个月前
What list did you use for the list of &quot;countries&quot;? (I only ask because the first one I got was Northern Cyprus which is only recognized by Turkey and not a UN state).<p>edit: I see the code is fetching from the following, which has 177 features:<p><a href="https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;holtzy&#x2F;D3-graph-gallery&#x2F;master&#x2F;DATA&#x2F;world.geojson" rel="nofollow">https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;holtzy&#x2F;D3-graph-gallery&#x2F;ma...</a>
评论 #43417843 未加载
评论 #43415164 未加载
评论 #43429265 未加载
评论 #43419325 未加载
评论 #43419119 未加载
评论 #43419954 未加载
kelseydh2 个月前
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&#x27;s a bit tedious to be forced into spaced repetition for it three times.
评论 #43414964 未加载
评论 #43414884 未加载
评论 #43416496 未加载
评论 #43429268 未加载
butshouldyou2 个月前
Nice little game! One correction: Swaziland has been called Eswatini since 2018. Lots of websites still use the old name, unfortunately.
评论 #43416581 未加载
avvt4avaw2 个月前
Some Welsh, Scottish and Northern Irish people may take issue with your definition of &quot;England&quot;
评论 #43416045 未加载
LouisSayers2 个月前
Nice work! It&#x27;s quite cool.<p>Feedback:<p><pre><code> - It&#x27;d be great to be able to move the map around, zoom in &#x2F; out - staying in one place feels a bit restricting. - For some smaller countries you can&#x27;t actually see where they were once the ring is put over them - Once a country has been identified it&#x27;d be handy to see their neighbouring countries to add some more context to where a country is. - It&#x27;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&#x27;s more than just a name on a map.</code></pre>
评论 #43456756 未加载
floodfx2 个月前
Love this! Played Worldle (<a href="https:&#x2F;&#x2F;worldle.teuteuf.fr&#x2F;" rel="nofollow">https:&#x2F;&#x2F;worldle.teuteuf.fr&#x2F;</a>) for a while and this would have been helpful.<p>Great application of spaced repetition beyond cards.
评论 #43415125 未加载
codethief2 个月前
Nice job!<p>A few observations &amp; thoughts:<p>- With remote islands somewhere in the oceans, the last zoom level isn&#x27;t very effective since the map will essentially only show the island you&#x27;re supposed to identify.<p>- The map&#x27;s resolution could be higher.<p>- The challenge (top right) doesn&#x27;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&#x27;t even made a guess in the first place and was waiting for the game to tell me which country to identify.
评论 #43425667 未加载
whiterook62 个月前
I&#x27;d like to play this on my phone but everytime I try to zoom or pan it thinks I&#x27;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.
评论 #43429678 未加载
martindbp2 个月前
Love it!<p>Last summer I put together a flag quizzing game with my niece, who&#x27;s a geography nerd: <a href="https:&#x2F;&#x2F;flagsaroundthe.world&#x2F;" rel="nofollow">https:&#x2F;&#x2F;flagsaroundthe.world&#x2F;</a><p>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&#x27;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 &quot;items&quot; becomes a straight sampling problem, where you can set a constant probability for each item that hasn&#x27;t been seen yet.
radicalcentrist2 个月前
This is awesome, I got way more sucked into this than I expected. If you&#x27;re open to adding more features, a &quot;custom playlist&quot; would be really cool. I&#x27;d love to drill myself on the Balkans or West Africa, for instance.
评论 #43462461 未加载
评论 #43526460 未加载
jmole2 个月前
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.<p>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.<p>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.
scottmcf2 个月前
This is an absolutely excellent way to learn, I am surprised at just how effective it was. I&#x27;d love a &quot;manual&quot; mode that let me discard countries&#x2F;mark them to stay in rotation.
评论 #43418119 未加载
评论 #43429694 未加载
kazinator2 个月前
Although that&#x27;s a decent UI and gamification with the circles and all, if I seriously wanted to memorize this information, I would just want the data as an Anki deck.<p>Front of card: country name, plus possibly: recognizably large segment of world map containing that country, without highlighting.<p>Back of card: same graphic, with that country colored.<p>Determining whether you got it right is self-evaluation in Anki; if you thought of the correct map shown in by the back of the card, you hit the good button, otherwise bad.<p>This clever paradigm in Anki means that deck authors don&#x27;t have to develop UI for the user to specify correct answers.<p>Say you want to go from dog breed names like &quot;Yorkshire terrier&quot; to photographs (rather than photo to name). How would you develop a UI by which the machine could test you and confirm that you know? Probably multiple choice is all we have. Multiple choice with too few choices gives the answer away to some extent. Too many choices will overwhelm your mobile device screen. You could ask the use to draw the animal. That would be time consuming and require talent not directly related to memorizing dogs.<p>With self evaluation, you don&#x27;t need it. You just imagine a Yorkshire terrier as best as you can. Then if you think the back of the card is close to what you were thinking off, you hit Good. If you imagined a Westie, or German Shepherd, so that you are surprised and dismayed by the unexpected Yorkie image, then you hit Bad.
评论 #43417337 未加载
eagsalazar22 个月前
I love this! A couple little points:<p>- After someone selects the right country, you should add country labels to the map for a second or two before transitioning so that context can reinforce the learning (&quot;oh it&#x27;s right next to Chile!&quot;) - Maybe show sattelite view for the same reason? So people can learn to ID countries by mountain ranges, lakes, etc?
vladde2 个月前
I am really enjoying this! I&#x27;ll continue to use this for a while, and I really hope I&#x27;ll learn more countries in the long term<p>Also, I absolutely love that it&#x27;s so easy to start playing (no signup, no popups, etc)<p>Question: For the countries I know and select first time, I get them multiple times between countries. It&#x27;s a bit odd to have to select England a couple of times, but the countries I don&#x27;t know, I seem to get less often, or no repeats at all. Is this intended?<p>(edit) Question 2: Is there any scenario where you&#x27;d actually guess wrong more than once? After the first miss click, the country is highlighted. I don&#x27;t see I&#x27;d ever get &quot;You found country in 3 clicks&quot;.
nebalee2 个月前
Neat, but England is wrong. The area highlighted when clicking is the United Kingdom.
cschneid2 个月前
A few thoughts after ~5 minutes:<p>* I like how the map moves around. It helps nail down relationships to neighbors * I don&#x27;t mind a few extra &quot;Where&#x27;s canada&quot;, even though it&#x27;s not that useful * I&#x27;d like the pause between answers be shorter. * Small countries are impossible to see when zoomed out on the first exposure, even when selected right. I find myself knowing the area it&#x27;s in (ie, central america) but not which exact country. So selecting it right when zoomed out doesn&#x27;t get me the correct answer.
littlestymaar2 个月前
This us cool, but please don&#x27;t repeat the countries we already know too soon. It gets boring very soon when it asks you in a loop 4 countries you&#x27;ve traveled to and you know exactly where they are!<p>Edit: OK I suspect there&#x27;s a clear bug, because over the first 15 country or so, the only one I didn&#x27;t know how to place (East Timor) hasn&#x27;t been asked to me again after like 20 times asking me stupid thing like Greece and Algeria in a loop.
deadbabe2 个月前
This may seem odd but I don’t like knowing where countries are, it makes the world seem like a much larger more mysterious place. It’s cool to stumble across some country you never knew existed in some part of the world you barely thought about. Knowing where a country is in the world has little use these days, since transcending physical borders is pretty trivial. It’s mostly a useless fact or piece of trivia now.
tiktaktow2 个月前
This is fun!<p>I can identify all mainland countries but have really hard time with the island nations in Oceania and the Caribbean. Would love to have an option to select which specific area I want to practice with.<p>Also for countries that I can identify with first click, I have to keep clicking until the cycle is complete. It make sense to zoom and ask to identify the countries again, but maybe stop after getting it right continuously ~3 times?
CAPSLOCKSSTUCK2 个月前
I hardly ever comment but I just wanted to say how much I enjoyed learning like this. Apart from the UI challenges on mobile Android (already noted by others), I wish it would cycle between more countries sooner (I kept getting Albania and Myanmar even after getting them right many times).
评论 #43462529 未加载
Graziano_M2 个月前
I find it surprisingly effective how you have to get it closer when it zooms in and you have to do it with less context. There were a bunch of countries that I could point general on a map, but that I might mix up with a neighbour, e.g. Guyana and French Guyana. With this method, I got it on the first try, and each time it zoomed in I was able to remember more specifically.
crvdgc2 个月前
Related Anki deck: <a href="https:&#x2F;&#x2F;github.com&#x2F;anki-geo&#x2F;ultimate-geography" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;anki-geo&#x2F;ultimate-geography</a><p>The data is also a bit more up to date w.r.t. the problems pointed out by sibling comments like changed names, different claims, distinguishing territories from countries.<p>Also commented in the original post.
rendall2 个月前
I am enjoying it! Besides the other feedback that has been raised and addressed already, on mobile (Android Chrome) the instructions say to <i>drag</i> the circle, but the behavior is that the circle jumps to the point of first touch; more of a <i>&quot;click on the country&quot;</i> behavior than <i>drag</i>.<p>But that&#x27;s minor. Really fun project!
wyclif2 个月前
Some general feedback after trying it briefly a few minutes ago:<p>I suppose I&#x27;m slightly more geographically aware than average, but certainly by no means that good at geoguesser type games in the past. Even so, it felt way too easy for me. I got the first 40-50 correct before I closed it because it wasn&#x27;t challenging enough for me.
ripped_britches2 个月前
Have fun with “the small disputed territory that produces chips” - actually spoken by Dario A in a talk this week
评论 #43419876 未加载
wildzzz2 个月前
This is really fun but the challenge mode seems to be messed up for me on Android Chrome. When I click the country, it gives me the point but seems to take that same input for the next country as well which is usually a failure. It&#x27;s like it&#x27;s using my finger lifting up as the next input.
i_am_a_squirrel2 个月前
As someone who uses Anki, and has also made a country learning game, this is soooooo smart! Great job! Thank you!
moi23882 个月前
I got the countries Sweden, El Salvador and Luxembourg.<p>I know where these countries are. I still had to select all of them at least 5 times each before I got another country.<p>Spaced repetition != immediate repetition.<p>Please fix this. If you have something correct, it should move it to the back of the stack.<p>Other than that, great.
评论 #43526473 未加载
personalaccount2 个月前
I found &quot;spaced repitition&quot; with sporcle to be quite effective. You have a blank map and have to manually enter in the names of the countries. Memorized the countries, capitals, states, counties, etc in a few days.
tomcam2 个月前
This is really good. I don&#x27;t have many of the complaints others have, because... it proved that my geography is way worse than I thought. To me this is kind of an ideal learning tool. Thanks very much.
rafram2 个月前
I’d prefer if it did what Anki does — give me 10-20 new countries before cycling back to ones I’ve already done. Just switching back and forth between two countries I already know over and over again is pretty boring.<p>Also, why is Antarctica on there?
neither_color2 个月前
This is fun. I&#x27;d appreciate a way to select only certain continents&#x2F;regions. At the very least let us mark a country as known. As it is there are too many reps when it&#x27;s a country you already know.
aquafox2 个月前
I boosted my geography knowledge by playing Sporcle, e.g. <a href="https:&#x2F;&#x2F;www.sporcle.com&#x2F;games&#x2F;g&#x2F;world" rel="nofollow">https:&#x2F;&#x2F;www.sporcle.com&#x2F;games&#x2F;g&#x2F;world</a>
mckn1ght2 个月前
Pretty cool, I like how it moves around, and the mechanic for guessing your way to something you don&#x27;t know.<p>I did a lot of sporcle grinding back in the day to learn all the countries of the world. Memories unlocked!
sdotdev2 个月前
I like how the position of the map changes to center another place or zooms in to really make you think.<p>only slight thing is that i wish the map had more contrast, apart from that this is great
rendall2 个月前
A progress status would be interesting:<p><pre><code> Known: 87% </code></pre> Also, I&#x27;m going to add to the chorus who wants a <i>[Skip]</i> button for known countries.
grimgrin2 个月前
nice job! particularly glad when you close&#x2F;open tab it continues where you left off<p>I am your classic american who would embarrass themselves if publicly tested on this. Never done spaced repetition outside of index card analogs, and I like the idea<p>I&#x27;ll have to click more to experience the `spaced repetition` bit, just getting an early comment in to cheers you
ljsprague2 个月前
I wonder if you could render the map so that it was as if we were looking at a globe?
Graziano_M2 个月前
There seems to be a bug with Fiji. It moves the map around, but never zooms in on it.
评论 #43415331 未加载
straffs2 个月前
This is something i&#x27;ll make my kids play when they are older!
_api2 个月前
thanks a lot. Spaced repetition is working for me.
antman2 个月前
Stuck in an endless loop bug argentina, libya, bangladesh
ananmays2 个月前
very cool - it would be fun to load more detailed outlines at higher resolutions using map tiles or someing. at high zooms some of the shapes are quite blocky
sciencesama2 个月前
Dockerize it to easy selfhost !
mreichhoff2 个月前
cool! what modifications did you make to the default FSRS algorithm?
rahimnathwani2 个月前
Wow. This is really cool. After reading the headline, I was expecting to see it and think &#x27;meh, why not just use Anki and the Ultimate Geography deck&#x27;.<p>I was wrong!<p>But the fact I get credit for knowing roughly where a country is, and then it zooms in, is a great idea. And well implemented.<p>I am going to try this for a bit and, if it works well, I&#x27;ll ask my son (8yo) to consider adding it to his daily habits.
dbcurtis2 个月前
Pffft.... that&#x27;s what ham radio is for. (Note: humorous, not ill intent here. An old office mate of mine once kidded me that he thought ham radio was a conspiracy on the part of the world&#x27;s geography teachers to get people to take an interest in their subject.)