An open API service indexing awesome lists of open source software.

https://github.com/khui0/flaggle

Flag guessing game inspired by Wordle
https://github.com/khui0/flaggle

countries flaggle flags svelte sveltekit trivia typescript wordle

Last synced: about 2 months ago
JSON representation

Flag guessing game inspired by Wordle

Awesome Lists containing this project

README

          

# Flaggle

![GitHub package.json version](https://img.shields.io/github/package-json/v/khui0/flaggle?color=%23366aed)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/khui0/flaggle?color=%23366aed)
![Website](https://img.shields.io/website?url=https%3A%2F%2Fflaggle.kennyhui.dev%2F&color=%23366aed)

### Play here: [flaggle.kennyhui.dev](https://flaggle.kennyhui.dev/)

Flag guessing game inspired by Wordle. Includes 254 country flags!

## How to play

Choose between [Daily](#daily), [Classic](#classic), and [Lightning](#lightning)

### Classic

Your goal is to guess a random **target** flag. Start by picking a country. Once you guess, you'll be shown similarity between your guess and the target.

image

In the example, I chose Seychelles. Now I know the target flag has a red horizontal stripe on top and with a white horizontal stripe in the middle with a star in the middle.

Build a streak by identifying flags and not giving up! **The streak counter will change colors at 10, 50, 100, 250, 500, 1000!**

### Lightning

You're shown the target flag and you have six attempts to identify it.

image

### Daily

A new flag is given every day! Same gameplay as **Classic**. Identify the flag in as few attempts as possible and challenge your friends! You can't give up...

Streaks in this mode are counted by the past consecutive days you were able to guess the target flag.

### Tips

You can press tab to insert the first suggestion.

You can search for a country by its two letter ISO code which could be a lot faster than typing out its full name.

## Stats

image

View your stats by clicking on the stats button.

image

## Sources

Flag SVGs, country names, and ISO codes are obtained from [flagpedia.net](https://flagpedia.net/).

Images are processed using [khui0/flaggle-flag-generator](https://github.com/khui0/flaggle-flag-generator)

## Development

This app is built using SvelteKit.

Install dependencies

```bash
npm i
```

Start local development server

```bash
npm run dev
```

Build project; files will be built to the `dist` directory

```bash
npm run build
```