In my car, from my windshield, I filmed the climb of the col de Saint-Ignace, near my home, in France, I accelerated the video X2 with video editing software and I wrote this little game.
The program automatically detects the AZERTY or QWERTY keyboard and loads the language in French or English. I adapted the Mijikai code published on this forum.
When the game launches, after the home menu and the 3 second countdown is over, the road will scroll past you. In the banner at the bottom, the words "BRAKE" or "ACCELERATE" will appear randomly. It will be necessary as quickly as possible to press the corresponding button to accelerate or brake. The faster you react, the less time you will waste.
Be careful, if you enter the wrong key or press keys when nothing is written in the banner, neither BRAKE nor ACCELERATE, you will suffer penalties which will be added to your total time. The record is saved in the records.txt file (which can be reset in the home menu).
I tested the program and it works from 800X600 up to 1920X1080 resolutions with DPI factors of 100,125,150 and even 175%. It should also work for resolutions above 1920X1080.
You can also put a video of your own, video.avi or video.mp4 (preferably a video filmed from a windshield) in the "resources" directory. The program will automatically generate BRAKE or ACCELERATE actions. The number of actions will depend on the length of the video.
I wrote this program with the Purebasic version v5.73, the executable (top_chrono.exe) is in 64 bits Windows. The zipped file (top_chrono.7z) weighs 127 MB because it contains the video, the source code has 749 lines.
It's unpretentious, just to spend a few minutes and test your reaction times...
Some pictures of the game and the link to download everything below.
Thank you for your comments.



Link to download the program :
https://u.pcloud.link/publink/show?code ... EnN7VUBbyV