I'm trying to create a very simple game on a website (HTML or Java whatever is easiest)
The game needs to have a moving square and the player needs to keep his cursor in the box it will count time in the box (total and consecutive) and how many times you got out of the box
In the back end i need to be able to add latency from user action until the mouse cursor actually moves to show the impact of latency on the performance. I also need to be able to collect and save this data with relation to the user entered info (can even be just an ID that he will type into a google form)
is there any existing code that i can use to create this? I'm only interested in the data collection aspect not in the coding itself :)
any help would be greatly appreciated!
[Cannot comment jet so as an answer]
You could use Unity for the game programming. As far as i know it has a webbuilder. You will find a bunch of tutorials for this engine everywhere. Although nobody will build a game for you on this website ... -> Your question shouldn't be this vague but a concrete programming problem