Thank you for looking.
I have been playing with bubble and making lil games. Im using a gpt api to feed users trivia questions and math questions… There is a timer going the entire time.
What I am looking for is a very precise tamper proof timer. When I say precise, I mean down to the hundredth.
I am a bit new to this so please give me some grace, but if I use a timer plug in it can be manipulated by the user if they want due to it is on the browser side however if I do a work flow with a start (current date and time) and a stop (current date and time) it will not be that precise.
Do you have any solutions to my problem? Am I over thinking this?
Thank you in advance!
Current DateTime client side uses the User’s system clock (that’s what I gathered from the Bubble docs). You’ll need to rely on server timings to keep things in check. Eg. Grab the current time from the server by storing it in a datatype
Alternatively, if it’s just simple timers you can just uptick or downtick a state every second. Use Do When events to activate WFs.
Not uncrackable but not as easy as changing a system clock. All done clientside so no WU.
Think of the timer as purely visual
When the user “submits” the answer, that is when you check the (start time) minus the (submit time), you can use epoch time for milliseconds calculation
I feel like this may be overkill for a quiz app but this might get you going in the right direction.