I want to build quiz-like app.
In browser, sound is played and user have to guess what pitch is it. If answer is correct, update user score. Pitch is represented by randomly generated integer. There will be highscore table.
My question is :
Is it possible to do this fully secure (not allow for user to detect sound pitch from browser developer tools or update score by sending his own post requestss) ?
What comes to my mind :
- If sound pitch is generated server side, I will have to send it through browser, then user can find sound pitch e.g. in network section in chrome.
- If sound pitch is generated client side (in clojure), I would compare answer to generated sound pitch, and then send score-updating post request to the server. That kind of request user can easily emulate on his own.