TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I made a game for learning the country flags of the world

54 pointsby kyrylo11 months ago
I have always loved geography, and due to my childhood interest in football, I learned a lot of country flags.<p>A lot, but not all of them!<p>So, I decided to make a free game for anyone who enjoys flags and wants to improve their knowledge. You can compete against others because each game is timed.<p>Have fun!

12 comments

dadoum11 months ago
The way flag appears can be exploited to get very fast.<p>We can memorize the last two matches position and alternate from there, as flags may not be there when names are popping but after at most one elimination the flag must have appeared (and if you enjoy try-harding you can refresh the website until you get the two first flags and names aligned, so almost no mouse move nor memory are needed)
评论 #40889596 未加载
评论 #40886705 未加载
modinfo11 months ago
My Cheat for console<p>function i(t){const e=t.dataset.synsetid;const o=t.textContent.trim();if(!o.endsWith(`(${e})`)){t.textContent=`${o} (${e})`}}function t(){const t=document.querySelectorAll(&#x27;div[data-game-target=&quot;word&quot;]&#x27;);t.forEach(i)}t();const e=function(e,t){for(let t of e){if(t.type===&quot;childList&quot;){t.addedNodes.forEach(t=&gt;{if(t.nodeType===Node.ELEMENT_NODE){if(t.matches&amp;&amp;t.matches(&#x27;div[data-game-target=&quot;word&quot;]&#x27;)){i(t)}}else if(t.nodeType===Node.TEXT_NODE){const e=t.parentElement;if(e&amp;&amp;e.matches&amp;&amp;e.matches(&#x27;div[data-game-target=&quot;word&quot;]&#x27;)){i(e)}}if(t.querySelectorAll){const o=t.querySelectorAll(&#x27;div[data-game-target=&quot;word&quot;]&#x27;);o.forEach(i)}})}}};const o=new MutationObserver(e);o.observe(document.body,{childList:true,subtree:true});
评论 #40903529 未加载
评论 #40903535 未加载
KomoD11 months ago
I got romania and chad alongside each other, that certainly made it harder lol.
评论 #40883770 未加载
uhartelightning11 months ago
Very fun and responsive but I ended up in a chain of &quot;off-by-one&quot; where there was a country&#x2F;flag whose partner was NOT visible at the moment but was the next to pop up.
评论 #40886714 未加载
go_elmo11 months ago
Im thinking about a similar thing for plant-species. Knowing them makes being outside a whole different experience!
评论 #40884259 未加载
评论 #40884779 未加载
jddil11 months ago
Thanks, my daughter loves it. She wanted me to tell you she&#x27;s only 10 and got 2nd on the leaderboard.
评论 #40886728 未加载
stuartjohnson1211 months ago
Simple, but with excellent execution. Greatly enjoyed practicing with this, and bookmarked so I can return
评论 #40883786 未加载
sciencesama11 months ago
Is this open source ?? We can use the same template for other games too if open sourced !!
评论 #40888791 未加载
jack_the_dev11 months ago
For some reason the game is highlighting the correct answers for me before I click them.
评论 #40883764 未加载
klubbhead11 months ago
Thanks, great job! I very much liked it, and so did my daughter!
评论 #40883784 未加载
thenipper11 months ago
This is great. My 11 year old thanks you!
评论 #40904330 未加载
charlestehio11 months ago
vexillologists would definitely love this
评论 #40881381 未加载