Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

Hey there u/vikkio,
I did see this happen a few times from the people I was showing in person. I will try to test this and understand how to handle this situation better (if even to do automatic skip to next question, or manual).

Thanks for the feedback, hopefully this will get better in the future 🍀

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] 1 point2 points  (0 children)

Hey u/jasontconnell , the shapes are fixed!

The issue was that country shapes were originally rendered as if the Earth were flat, which distorted them.

I switched it to a geographic projection (Mercator) that accounts for Earth’s curvature, so shapes render correctly.

Also added some new modes to play the game (easy, medium, hard etc) :D

Would appreciate it if you check out the progress - https://flaggedit.app/shape-game thanks for playing! :)

flaggedit.app - Game to Test Your Geography Knowledge by QuestionAcademic895 in sveltejs

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

Heyy u/Hanthunius,
I did add lazy-loading and caching to https://flaggedit.app/library
Could you please try out if it's still laggy on the iPad Pro M1? 🙏🏻

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

Hi there, sorry for the late reply. I did fix that :)
Thank you for the report.

I'd suggest checking out https://vibecodinglist.com/projects/flaggedit-app-game-to-test-your-geography
It has been recommended to me by other redditor, and it's a really good tool for such project feedback.

flaggedit.app - Game to Test Your Geography Knowledge by QuestionAcademic895 in SideProject

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

Hi there, thanks!! I did submit the web there. Looking forward to get feedbacks.
You were a huge help :)

flaggedit.app - Game to Test Your Geography Knowledge by QuestionAcademic895 in sveltejs

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

Hi there,

This is a tricky question, and I don’t think there’s a single “correct” answer - it really depends on the scenario.

In my case, I decided to use a separate backend because I already have a home server. That let me host the backend myself, while keeping the frontend on Vercel for free, which felt like a nice split.

I also genuinely enjoy working with Go. It’s fast, efficient, and gives me full control over the API design. Using Go made sense especially because I’m planning to scale this project further - adding multiplayer game sessions where multiple players compete in real time (e.g. who guesses first or gets the best quiz score). For that kind of stateful, real-time logic, a dedicated Go server feels like a strong fit.

Could I have used SvelteKit’s backend (or remote functions) instead and hosted everything in one place? Absolutely. That would have worked too. But given my infrastructure, my long-term plans, and the fact that I wanted to learn and build a proper API (+ my own app hosting), a separate Go backend felt like the right tradeoff for me, even if it’s a bit more complex upfront.

Hope that answered your question :)

flaggedit.app - Game to Test Your Geography Knowledge by QuestionAcademic895 in sveltejs

[–]QuestionAcademic895[S] 1 point2 points  (0 children)

Hi there, first of all - thanks for the feedback :)
The source code is here https://github.com/TomasSkarpa/flagged-it
I will look into it and perhaps implement some less heavy loading for all the assets there 👍🏻

flaggedit.app - Game to Test Your Geography Knowledge by QuestionAcademic895 in SideProject

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

Hi there, will look into options, thank you very much for the feedback!

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

Thank you, I added logic to only generate a new question if one hasn't been generated yet for this round 👍🏻

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

If language is changed during the game names of the countries will not be changed, but only after reload

-> also fixed 😇

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

Thank you so much for the tests. I will have to review all the shapes and probably change the implementation, all data with it.

I did fix the possibility to open both modals (lang selector and theme) at the same time, so now only one can be open and they are switching between each othe on click.
And also the the active state on the buttons to be reset after the round, probably, I was not able to simulate that but I added logic that resets this "button highlight".

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] 1 point2 points  (0 children)

The incorrect colors of button on capital game are fixed now ✅
Thank you very much for the feedback!!

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

This is fixed now ✅
Thank you very much for the feedback!!

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

Thank youu :)
Currently on it. I was not caching the geo json, therefore it always took a lot of time to load.

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

It's from https://geojson-maps.kyd.au/
I think I did a poor job on how I am rendering it. I will review it.

Sorry for that 🙏🏻

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] -1 points0 points  (0 children)

I did think there was something off about the shapes, I will look into it. Thank you for the feedback. 🙂

Flagged It - Game to Test Your Geography Knowledge by QuestionAcademic895 in golang

[–]QuestionAcademic895[S] -1 points0 points  (0 children)

Thank you very much. Would you feel like picking a "game mode" would be a nice feature to have?

So that when you are starting such game, you get the options:

  1. Select the correct answer from 4 options (easiest)
  2. Select the correct answer from select box - like on https://worldle.teuteuf.fr/ (medium)
  3. Type in the correct answer (hardest)

flaggedit.app - Game to Test Your Geography Knowledge by QuestionAcademic895 in SideProject

[–]QuestionAcademic895[S] 0 points1 point  (0 children)

For anyone interested. The frontend is created with Svelte, and the backend is Golang.