Load random 50 questions from 500

Hello,

I’ve made 500 questions for my Quiz Game, but it just randomize 500 questions and the person have to answer on all of them. Is there a way to pick random 50 questions from my list of 500 questions and start the game?
If needed, I can give you a full source code of the game because it’s already on the internet :smile:

Maybe there is something to do with this line of code?:
7596262--942319--upload_2021-10-23_15-33-54.png

I have all questions listed here, (1 question is 1 file):

Any way to fix this?

Can’t you just have them answer the first 50 of the random 500?

2 Likes

I mean, I have 500 questions here.
When I start the app, I do not have only 50 questions but 500 randomized (in different order).
But I want to select random questions out of 500 and start the app.
I just don’t know what to do to make them select 50 random ones and deal with it.

Shuffle the list, pick the first 50.

1 Like