App detects colour change on https://www.humanbenchmark.com/tests/reactiontime and clicks on it right after it turns green.
App needs to be compiled using gcc/g++ using the -lX11 flag.
Code was written based on the following stackoverflow posts:
https://stackoverflow.com/questions/17518610/how-to-get-a-screen-pixels-color-in-x11 https://stackoverflow.com/questions/2607010/linux-how-to-capture-screen-and-simulate-mouse-movements