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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Name That Nation

201 点作者 andrewtbham超过 1 年前
I made this map game. react, material ui, hosted on vercel cdn, no back end.

47 条评论

fifticon超过 1 年前
This is already written elsewhere, but this game screams to work efficiently with the keyboard, so one can just type country names and hit 'return'. I can already mostly navigate it with TAB + shift-TAB, but as the game loop is simply 'type name, get feedback', it seems weird the keyboard flow has not been polished in its otherwise quite polished design. I am at two minds about the drop-down matches covering the beautiful prompt map. I realise I should be able to carry on typing even though I then can no longer look at the country shape, but for the design purity of it, I would prefer the drop-down to not cover the prompt. Maybe by allocating less space to the candidates, at max showing 2-3 options, or showing them _beneath_ the map. Still, very beautiful compared to a version I made 20 years ago for my private use (CIA world database map says hello!).
评论 #39277992 未加载
评论 #39278078 未加载
_xivi超过 1 年前
Nice project<p>Gameplay wise, I find the feedback loop to be lacking tho. Right now, there&#x27;s no much feedback other than &quot;You got it wrong, actually, it&#x27;s X. Anyway, moving on...&quot;. This makes it less of an educational game and more like a test.<p>For me, I&#x27;m always close, so revealing neighbor countries on the map along with the answer (especially for small countries) can add a &quot;spaced repetition&quot; element to the game, it help your brain connect the dots and feel more productive and fun
评论 #39274527 未加载
评论 #39274893 未加载
评论 #39274567 未加载
youngNed超过 1 年前
Its good, but I was expecting a rotate&#x2F;zoom<p>I <i>really</i> like travle.earth: <a href="https:&#x2F;&#x2F;travle.earth&#x2F;challenge&#x2F;" rel="nofollow">https:&#x2F;&#x2F;travle.earth&#x2F;challenge&#x2F;</a>
评论 #39279320 未加载
评论 #39274577 未加载
asimpletune超过 1 年前
I love it, my only feedback was the I didn&#x27;t really understand which I was supposed to pick when it showed me N. Korea. Because all I saw the Korean Peninsula, and the north was dark green and the south was light green.
评论 #39272795 未加载
评论 #39280647 未加载
评论 #39276779 未加载
pmontra超过 1 年前
The positions of the Pacific islands and the smallest nations of the Caribbean are difficult to remember. For Central America it&#x27;s hard to remember the north to south sequence and the same for the equatorial region of the coast of western Africa. Everything else is pretty easy.<p>Considering how many countries are there in those regions I expect that I should achieve at least 50% but not close to 75%. That&#x27;s surprisingly bad for an European that thinks to know geography.
adithyassekhar超过 1 年前
You can make this more educative by showing 4 or 5 options to choose from for a particular country.
评论 #39272745 未加载
评论 #39276601 未加载
crvdgc超过 1 年前
For those who want to learn map, capital, and flag: <a href="https:&#x2F;&#x2F;github.com&#x2F;anki-geo&#x2F;ultimate-geography">https:&#x2F;&#x2F;github.com&#x2F;anki-geo&#x2F;ultimate-geography</a>
forinti超过 1 年前
I liked it. Maybe you could add some facts about each country as a tip or after the answer was checked.<p>And the tiny countries such as the Vatican or the Pacific Island states could be zoomed in.
skor超过 1 年前
Nice, enjoyed seeing how I don&#x27;t know the political map as good as I thought.<p>If I click &quot;Check&quot; without typing anything and then click &quot;Correct&quot; my score goes up.
评论 #39272612 未加载
评论 #39272639 未加载
tempestn超过 1 年前
You could do easier difficulty by making the questions multiple choice. (I mean, technically it&#x27;s already multiple choice, but say 5ish choices.) Potentially could have multiple levels of difficulty by varying the number of choices, or by selecting options by proximity.
ruggeri超过 1 年前
I liked it a lot, especially the UI.<p>I disagree with any suggestion that makes the game easier. There are a lot of websites with name-that-country games. For people who are <i>pretty good</i> at locating and naming countries, they want to improve their ability, and they need a tougher game to do that.<p>It would be fun if there were some country factoids or images, probably. But for people who are trying to get <i>really good</i> at locating countries, they probably already do know facts about various countries, so there isn&#x27;t a lot of value there.<p>Spaced repetition of mistakes would be valuable. Very few alternatives offer this.<p>Maybe you could also offer to filter on a population cutoff? I frequently cut off countries with less than 200k population, because I am not that interested in the various island countries.<p>Here is my very half-assed version I built once upon a time: <a href="https:&#x2F;&#x2F;github.com&#x2F;ruggeri&#x2F;world-map-game">https:&#x2F;&#x2F;github.com&#x2F;ruggeri&#x2F;world-map-game</a>. Yours is a lot better.
评论 #39276835 未加载
midasuni超过 1 年前
What do the colors mean Why was North Korea in dark green and South Korea in light green, and which should I name?
评论 #39272098 未加载
评论 #39271904 未加载
thih9超过 1 年前
My score was 7&#x2F;20.<p>I enjoyed it; I like that you can use this without entering the country name, i.e. do just &quot;Check&quot; -&gt; &quot;Correct&quot;&#x2F;&quot;Wrong&quot;. This is such a fast and rewarding loop, reminds me of flash cards or spaced repetition apps.
评论 #39276665 未加载
progval超过 1 年前
I&#x27;m having issues with keyboard navigation on Firefox:<p>* Typing a few letters then pressing tab closes the dropdown instead of selecting options in the dropdown<p>* when the text box is selecting, pressing enter does nothing; I need to press tab then enter to submit the answer
评论 #39272735 未加载
评论 #39272608 未加载
AdamH12113超过 1 年前
For learning geography, I like:<p><a href="https:&#x2F;&#x2F;www.jetpunk.com&#x2F;quizzes&#x2F;how-many-countries-can-you-name" rel="nofollow">https:&#x2F;&#x2F;www.jetpunk.com&#x2F;quizzes&#x2F;how-many-countries-can-you-n...</a><p>I ran across it years ago and decided to use it to practice naming countries. For a harder challenge, try this one, which doesn&#x27;t give you a map:<p><a href="https:&#x2F;&#x2F;andys.org.uk&#x2F;countryquiz&#x2F;" rel="nofollow">https:&#x2F;&#x2F;andys.org.uk&#x2F;countryquiz&#x2F;</a>
vehemenz超过 1 年前
How about a hard mode that doesn&#x27;t tell you what the answer is until you&#x27;re done?<p>Process of elimination makes the last 50 pretty easy if you look through the dropdown.
benjijay超过 1 年前
Fun! A little too easy to check the filenames of the images if stuck for an answer but I imagine most people aren&#x27;t dirty cheats like me :P
pvinis超过 1 年前
Nice! One thing to note is that typing on the search is case sensitive. Please make it insensitive, so I don&#x27;t have to type M instead of m.
retwertett超过 1 年前
On Firefox if I type the answer and tab to the continue button, It&#x27;s counted as correct, even if it&#x27;s false.
trurl42超过 1 年前
Keyboard accessibility could use some love.
sabzetro超过 1 年前
This is legitimately great! Would love it if there was some sort of session persistence (even if it&#x27;s just an array in localStorage of countries I&#x27;ve already covered.) that way I could play through all the countries without having to keep the window open. Simple and effective game! Nice job :)
dvh超过 1 年前
Give partial score for close guess, I called Benin a Sierra Leone, or art least show my guess and target country
评论 #39272712 未加载
评论 #39272602 未加载
fastaguy88超过 1 年前
An interesting demonstration of the difference between number averages and mass&#x2F;size averages. Did great on the big countries. No idea where San Marino was, so lots of relatively smaller countries pulled my average down. By mass&#x2F;size, probably 90+ %. By number, only 70%.
tiktaktow超过 1 年前
Hey you are missing Mauritius!<p>Nice game. Would be great if the gameplay moved on to the next country after a correct or wrong answer, without the need to hit the &quot;Continue&quot; button.<p>Got 182&#x2F;195! Hate the Oceania and Caribbean for always making me lose points in quizzes :D
评论 #39281908 未加载
ukuina超过 1 年前
Well done!<p>What are these types of web apps that have no backend called?<p>You still need the CDN, so they&#x27;re not classically serverless (<a href="https:&#x2F;&#x2F;www.sqlite.org&#x2F;serverless.html" rel="nofollow">https:&#x2F;&#x2F;www.sqlite.org&#x2F;serverless.html</a>)
评论 #39272131 未加载
评论 #39272302 未加载
评论 #39272668 未加载
baryphonic超过 1 年前
Great work! Only feedback would be to make the drop-down search aware of the abbreviations for various countries. For example, St. Lucia rather than <i>Saint</i> Lucia, DPRK for North Korea, or even CAR rather than Central African Republic.
wscourge超过 1 年前
Cool one, especially for kids. It&#x27;d go well with naming the capital city, too.
评论 #39271829 未加载
StopTheTechies超过 1 年前
This seems to conflate the idea of a nation (ie a people) with that of a country or state, which I find pretty odd. Many countries are composed of many constituent nations, many of which will cross state borders.
KomoD超过 1 年前
I wish the dropdown didn&#x27;t cover the entire map when you focus the text box, another nice feature would be being able to select multiple regions (e.g. just Europe and Asia)
prmoustache超过 1 年前
Oh irony is that first country I had when visiting the site was Palestine.
评论 #39272462 未加载
BeetleB超过 1 年前
I&#x27;m guessing this was inspired by the following thread (by Derek Sivers)?<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39169197">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39169197</a>
john-radio超过 1 年前
Excellent! Small bug: null responses are considered &quot;correct&quot; in the right&#x2F;wrong counter. I&#x27;ve skipped 3 and gotten 3 wrong, and it&#x27;s showing 3&#x2F;6 correct.
Tainnor超过 1 年前
I got 128, which I guess isn&#x27;t too bad. I&#x27;m just totally hopeless when it comes to most of Africa, and there&#x27;s just way too many small island states.
评论 #39272768 未加载
namphibian超过 1 年前
Very cool. Are you collecting data on guesses? Would be interesting to see a ranking of countries by how many people can ID them
S_Bear超过 1 年前
A hint with the capital would be nice, especially for the tiny island nations. Otherwise I thoroughly enjoyed it!<p>(129&#x2F;195)
SalimoS超过 1 年前
Btw on safari on iOS long press the image will show the name of the country from the Wikipedia link
mkl超过 1 年前
155&#x2F;195. Struggled with Pacific and Caribbean island nations, and some of Africa.
tacone超过 1 年前
Very nice and well executed. Would love to be able to zoom in a bit.
getwiththeprog超过 1 年前
Thank you for highlighting my ignorance of geography :)<p>Keep up the great work.
praveen9920超过 1 年前
Good work.<p>I couldn’t name 98% of the countries. Realised my geography sucks
lloydatkinson超过 1 年前
Fun game! That material UI looks dated and clunky though.
poulpy123超过 1 年前
nice ! I have a big problem with pacific island, central america and subsaharan africa
croisillon超过 1 年前
why is south korea another shade of green when the question is north korea?
Halan超过 1 年前
Good example but what adult doesn’t know all the countries of the world?
评论 #39278912 未加载
hasty_pudding超过 1 年前
you lost me at the drop down on mobile.<p>I&#x27;d suggest on mobile just having a selection of four to eight options that you can touch with your finger.
geoelkh超过 1 年前
Nice game :)
personjerry超过 1 年前
Why&#x27;s it so slow? When I press Continue it takes like 1 second to load the next country?<p>It&#x27;s like 195 jpegs, just pre-load them please. I can&#x27;t continue like this after 3 countries, it&#x27;s too tedious.