Hi, I'm building a multiplayer quizz game.
For the moment I use keyboard as quiz buzzer for the example.
So what I do is that when user press the buzzer, I increment an index. SO the first to press will have index at 1, second to press will have index at 2 etc...
It was doing the job but then I realise that the first button I will check, in case of almost simultaneous press, will always be first.
How can I assure that the fourth button to check have same chances than the first one?
C3p: https://drive.google.com/file/d/1o8E5YEPF7NfHtdlYIhXTBD9EOCz0n59t/view?usp=share_link
(like here, if you press A,Z,E,R at the same time, you'll see that A is always first, if you move R check first, R will be first...)