Country Guessing Game

Country Guessing Game

8 devlogs
3h 57m
Created by Sam V

A web app which gives you quizzes where you have to guess the country from a national symbol, such as flags and national anthems.

Timeline

Did some final bug fixing as well as adding a favicon and writing the Readme to have a functional minimum viable product.

Update attachment
Earned sticker

The second game on the website, the flag guessing game, is now implemented! I also added a home page and did some final tweaks and bug fixing to the country selection algorithm, so that you can now get a repeat country but only after you have gotten at least 25 other countries. (Previously it was possible to eventually run out of countries, so this fixes that problem.)

Update attachment
Earned sticker

Spent some time ironing out bugs as well as adding this nice footer to the bottom of the page.

Update attachment
Earned sticker

The next button is now functional, and the game will not give you a country you have already gotten before. I also added a score counter at the top so you can see how many questions you get right. Finally, I added more fonts to the website so that text in non-Latin scripts looks nicer.

Update attachment
Earned sticker

The answer text is now hidden by default, and clicking to make a guess will reveal it. There is also attribution text for the recording of the anthem, and a Next button which will be used to choose a new anthem to guess.

Update attachment
Earned sticker

The buttons to choose a country are now also chosen with JavaScript - one button will be the correct answer while the other three will be random countries. The order of these buttons is randomised so that there will be no way to know which one is correct. I also added a check to make sure that each button will be unique, so there will be no duplicate buttons.

Update attachment
Earned sticker

The site now selects a random country from a pre-defined list and updates the answer text as well as setting the correct source in the audio tag. A new country is chosen every time the page is refreshed, later this will be changed so you can move to the next country without needing to refresh.

Update attachment

Set up the basic webpage with buttons to guess a country and an audio tag for the national anthem quiz.

Update attachment