How can I load data randomly from a table, this what I'm trying to achieve:
I've a table with Puzzles then I want to load them randomly for the user but also check if the user have played that puzzle so the user will always get a new different puzzle. So if a player play a puzzle a property called id from that puzzle will be saved on a array within playerObject called puzzlesPlayed, dunno if that is the best to do it.
Thanks