Hi all,
so i’ve been building an app and on the whole, AI has been a big help. Now i’ve had to rebuild it about 12 times because AI changes its mind about the best way to do things but hey, i’m here and it’s almost done to the point I want it!
BUT
I’m stuck on the final job and every method Fin and ChatGPT have suggested so far have yielded nothing successful.
Essentially, I have a button within a pack that I want to open a random card within that pack.
- I’m building a language app, So a pack will have a selection of questions within it, so for “Greetings” for example one question might be “Hi how are you?” etc.
So sticking with “Greeting” as a pack, when you select that pack within the app, it opens all cards within that pack - and each card is individually selectable, this allows you to revise the information without it being in anyway feeling like testing.
Now, back within the Pack screen - sticking with “Greetings” I have a button, which states “Start Practice” as above, I want this button, to select a card from the deck. It does this but it’s not random, it’s always the same card (it changes from deck to deck but it’s always the same card within each deck)
I want it to select a random card - i.e. if I went into the app today and hit practice, it would (other than by chance) bring up a different first card each time.
So that’s issue 1.
Now on that card that it does bring up, I also have “next question” as a button. This should largely be the same function, in that it selects the next random card within that pack, and so on and so on.
I just can’t get it to work. I’ve been stuck on this specific problem for hours and just want a human to run me through it now.