Visual search task with reward

Hello,

I want to build a Visual Search Experiment in which participants get a reward (i.e. either 7 or 2 or 1 points depending on triall type) on each trial ONLY if they have:

  1. a correct target present (‘a’ key press)/absent response (‘l’ key press)
  2. their reaction time is 0.77seconds or less

If these conditions are met then a small sound will be heard notifying them that they have received the reward, and they will get some points (i.e. 7, 2 or 1) the total number of which will be accumulated and presented at the end of every block.

Do you have any suggestions on what would be the best way to approach this?
Thank you