A Flask-based flag-guessing game. A flag appears, you type the country, one wrong guess ends the run.
- Filter flags by region (Africa, Americas, Asia, Europe, Oceania)
- Autocomplete with live country suggestions (keyboard-friendly: arrows + enter)
- One-miss-and-over scoring
- Flags served from the open-source lipis/flag-icons project via jsDelivr (MIT)
pip install -r requirements.txt
python app.pyOpen http://127.0.0.1:5000.
flag-finder/
├── app.py # Flask routes and game API
├── requirements.txt
├── static/
│ ├── css/style.css
│ ├── js/game.js # autocomplete + game loop
│ └── data/countries.json # 197 countries with region + ISO code
└── templates/
├── base.html
├── index.html # region picker
└── game.html # game screen
MIT