Reflex action (Tutorial req)

This is a request for a Reflex action tutorial
i’ll explain wat it does

I have got 5 circles in White Green Yellow Red Blue and two boxes on the left and right hand corner which is also yellow in color

what i need is the colored circles to appear randomly anywhere in the screen and when i press corresponding letters in the keyboard the speed in which the circles appear should slowly increase. its like the more i react the more the speed should increase and when i stop pressing button for a second or so it should slow down as well, meanwhile the yellow boxes also should light up randomly in between the circles.

its a sort of game i can say. which should calculate the no of reds, whites, yellows, green,blue and also the yellow boxes pressed correctly.
also negate points any wrong button.

thx for any help