
Flaggle
Flag guessing game. Similar to Wordle, but for world flags.
Description
Flaggle is a browser-based flag guessing game where each guess gives you a visual clue. The game compares your chosen country’s flag with a hidden target and highlights matching regions, helping you narrow down the answer through patterns and colors. Fuzzy country search and keyboard shortcuts make it easy to enter guesses and try different possibilities.
I built Flaggle with SvelteKit and used the Canvas API to compare flag images pixel by pixel based on color similarity. I also wrote an asset pipeline that downloads SVG flags and converts them into consistently sized PNGs before gameplay. Flag images are cached in IndexedDB so later sessions can reuse downloaded assets.
Screenshots


