Skip to main content
6 events
when toggle format what by license comment
Sep 13, 2012 at 22:03 review First posts
Oct 1, 2012 at 15:03
Sep 1, 2012 at 20:18 answer added Tim timeline score: 1
Sep 1, 2012 at 17:33 comment added Daniel Carlsson mongodb.org/display/DOCS/MapReduce - for the documentation of this functionality
Sep 1, 2012 at 17:32 comment added Daniel Carlsson Have a look at map/reduce, it allows you to execute js code on the server. You could either use random numbers to add a random value to your question, then sort by that value to get a random question. Or you could simply add a sequential ID so you can pick a random number client side. You should consider storing which questions the player answered "last", besides the problem you highlighted you would also have a repeatable sequence which would make the game less fun. You could just keep track of the last X questions instead of resetting after all questions have been used.
Sep 1, 2012 at 16:05 answer added user827992 timeline score: 1
Sep 1, 2012 at 14:59 history asked JoshLeaves CC BY-SA 3.0