Calculating Reaction Time

Actually, I am making a game where random texts are appearing with random colors and the person actually has to select the answer which can be either red, yellow, blue or green colored buttons. If the button color matches with the color of the random text and not the text itself, he gets a SCORE. For each answer he gives, I need the reaction time from the onset of that random colored random text till the person presses the answer button. This has to be done for each and every random text separately and in the end , mean of all reaction times has to be displayed. Any help is this regard would be highly appreciated.
The text random appears 40 times so 40 reaction times need to be calculated and towards the end, the mean of those 40 reaction times need to be calculated. Thanks

this seems to be a great task for some homework...
as a start it would help to learn some basics
concerning the reaction time take a look into the Clock component

see also

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here and the aia files for the projects in the book are here:
How to do a lot of basic things with App Inventor are described here: .

Also do the tutorials to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.