Hoppa till innehåll

Etikett: Quiz-app

Quiz App Update, 24th aug.

Hi all,
Back from a lot of work and studying for an exam. Back to my app submissions to the Ubuntu App Showdown.
The Quiz app, which I’ve written about earlier, is coming along nicely. Yesterday and today, I’ve been working on rebuilding some of the backend. Previously Quiz was only able to add a question, with an answer, and then list all of the questions, and if you wanted to answer a question you had to write it down. Then I added four buttons, one which contained the correct answer – no need to type it yourself.
Now, I removed those old buttons, updated the tables for the questions database so that you can add alternatives to your question, and each of them (max four, min two) gets an old button automagically since I’ve rebuild the backend to use ListModels instead of manually doing it. Each alternative is saved in an array, foreach.append to ListModel = done!
Result is found in the images above. I just need to deactivate all of the buttons when one alternative is pressed, instead of just the one that got pressed. Also the alternatives will be in a random order later on.
Later on I will create a way for the app to download new questions from a server, and also bundle the app with some inital questions. Untill then you have to add your own.

Kommentarer är stängda

First Ubuntu App Showdown submission: Quiz

Quiz is a quiz game, simply. But not really as simple as a simple quiz game.The idea is quite large, which actually makes me wounder if I should just make it simple now, and to make it bigger later on.

The idea is that you can use Quiz for two main reasons:

1. To learn: You can add any kind of question you like, and then use it to learn my answering your own questions. I’m currently reading a book about pretty much everything, and I add thinks like years, scientists, definitions and elements.

2. Game: Challenge your friends either by your own quiz, or by already submitted. That brings be to the much bigger thing: infrastructure. I will have to write a web back-end for users to authenticate and submit questions – and most importantly: make it safe.

So this first update is just to bring you up to speed: You can add your own questions, and you can answer them.

Next step will be to add a function do add alternative answers and returning these as buttons for the users, instead of a text field, which will have to be answered exactly.

Kommentarer är stängda