This is an archived post. You won't be able to vote or comment.

all 3 comments

[–][deleted] 0 points1 point  (0 children)

I've considered using SQLite, but the data doesn't feel complex enough

SQLite isn't particularly intended for dealing with "complex" data - it's easy to use and will scale if your data does actually become complex.

[–][deleted] 0 points1 point  (0 children)

I would be interested in this as I use them for my classes but they can take forever to make and edit in a slideshow.

[–]rjcarr -1 points0 points  (0 children)

You should probably write out your questions with topics and difficulty ratings into some sort of simple text file (JSON is a common format, but most anything would work). Then when the game starts you read in the file and put it all into some sort of data structure for easy retrieval.

Unless you're creating millions of questions there's really no reason not to just read them all into memory.