Devlog 1:
I started working on a trivia game that has questions about aviation. It will have graphics, but right now i just finished the question adding system:
Basically there is a txt file that is structured like this:
total number of questions
Question1|Correct answe|Wrong answer|wrong answer|wrong answer|number of points
…
The code reads the number of questions and then adds each thing to it’s own vector for storage. I made it so that the answers to the question would be shuffled each time. There was also a bug where the code wouldn’t read the whole question but only the first word- it turns out you have to use getline.
Next i will start Working on some art for the game!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.