Skip to content

Test your knowledge on Belgian muncipalities with this little app

Notifications You must be signed in to change notification settings

DonCioccolato/Cities-of-Belgium

Repository files navigation

similar quiz on a website (didn't know this existed when I made it): https://www.jetpunk.com/user-quizzes/1433323/d1-belgische-gemeenten-communes-de-belgique-compleet-complete

Usage:

First, install the dependecies by typing "pip install -r requirements.txt" in terminal.
It might also be needed to install the latest version of python3 to use tkinter.

By running main.py (terminal command "python main.py"), the application starts.
Entering a valid muncipality in the typing field (by either pressing enter or pressing the "Toevoegen" button)
will add this city to the right province and add to your progress on the map. The timer will stop when all muncipalities have been submitted.
The submitions are not sensitive to accents or capital letters, but are sensitive to hyphens instead of spaces.
Submitions are valid in Dutch and French for the cities in wallonia and brussels. Cities in Flanders are only valid in Dutch.
After submitting, there is an unfortunate 1 second delay due to having to save the map as a png before being able to show it.

alt text

Mandatory files for the app to work:

"Belgische_gemeenten.csv": database of belgian muncipalities
"Map_of_Belgium.svg": file which makes filling in the map possible
"empty_map.png": picture of empty map for initial loading

Credits:

This app is based on https://www.jetpunk.com/quizzes/how-many-countries-can-you-name.
"Map_of_Belgium.svg" is (although edited) from https://commons.wikimedia.org/wiki/File:Map_of_Belgium.svg.
Information used about muncipalities: https://www.mapchart.net/belgium.html and https://nl.wikipedia.org/wiki/Lijst_van_Belgische_gemeenten.

About

Test your knowledge on Belgian muncipalities with this little app

Topics

Resources

Stars

Watchers

Forks

Languages