Opens in a new tab

Are You Well Informed? (Coronavirus Minigame-Quiz)

Well, I will not go on at length here; the week of lockdown to prevent the spread began not long ago. I am aware, as many are, that it is important to stay at home to prevent the spread and contagion, especially for the groups at greater risk from this virus.

During this first week I have taken it upon myself to try making a mini quiz about the virus; it has been a simpler job than that of fingers vs zombies, this particular one has taken me 2 days; I may give it a facelift by adding better UI animations, but for now it will stay like this as an anecdotal memento of this event.

The mechanic is simple: you just decide whether a statement is true or false; if we get it right, the % goes up. There are a total of 30 questions at the moment. Could this be described as something like a «serious game»? \(≧▽≦)/

if you have trouble trying the game here, you can use this link https://keruto.com/coronavirus/ to play it in a new window. NOTE: I recommend trying it on a PC; I have not prepared it for playing on mobile devices.

If you find bugs and/or would like to share your impressions with me, you can always contact me here or through my social media. What percentage of correct answers did you get? ^^

About the Development

For this mini game I used an XML that stores the questions with their ids, answer and explanation. For the logic I used state machines: -first, all the XML is read to store the questions, answers... in arrays
-once this first pass is finished, it starts randomising the id of the question that appears on screen and removes it from the list
-the true and false buttons make a call to the correct or incorrect state depending on whether the question was marked as true or false.
- the percentage of correct answers goes up based on a float whose value is determined by the total number of items in the list at the start of the game.
- the green fill is a slider that rises based on that percentage, starting at 0 and reaching 1 when you have 100% correct answers. This value is constantly updated.

-as for the look, I used a Google material design and the font “bellota-regular” from Google Fonts; I downloaded the coronavirus icon from Flaticon and edited it a little in Photoshop to replace the cursor, and the little figure is my own work.
-In the menu I decided to add the particle system to give it a bit of life.

Share It If You Liked It:

Meet the Author:

Other Related Posts: