Not sure where to start searching, or whether my idea is feasible!

Hi, I'm brand new to Arduino, but not brand new to programming. Could I please get some help on where I should even start looking for advice on what I want to do...

I have an Arduino programme written by a friend, displaying a reaction time, linked to a set of traffic lights. When the light turns green, put your foot down on the accelerator and your reaction time is displayed on the read out. That bit has already been done (Thanks Pete). What I would like to do now is record everyone's time and display a leaderboard (in real time) of the fastest reaction times to the slowest. Perhaps we could use a barcode / reader to associate a name with a time?

Thanks in advance, and sorry if this is not the correct place to ask this, but I've spent some time looking around, and I think this is feasible, but I really just don't know where to even start investigating.

Is the leaderboard online or local? If it is local, just store the top 10 scores in the Arduino's EEPROM. Just Google what EEPROM is and there are many tutorials on how to do this. If the leaderboard is online, things will be much more complicated because you will need somewhere to store the scores.

You can store results on an array. That would be a first step.

Next you can look on the web for some sorting algorithms like bubblesort and qsort and try to implement that.

You can use a struct to associate names / barcodes with results; it's like entries in a phone book where a name is associated with a number and e.g. an address.

Hi Suef,

it seems like the basic data source is done, so you are really wanting to present this data, along with saved data from the past, right? Can you describe how you want this data to appear to the end user? And is it on a web page, in a mobile app, or just an ephemeral sensation? Or ... what?

Be as specific as you like. Thanks.

At the moment, you can just see the current reaction time. For a given day, I would like to show everyone's reaction times. There may be, say, 100 reaction times to display. This does not need to be "online" as such, but I would like to display it on a screen so everyone in the room/event can see the scores. Possibly, I would like to save these times at the end of the day, and then display them online on our website - but to start with, I just want to display the current day's data. Happy to have a PC connected to control the screen/data. Also happy to have a tablet so people can type in their name whilst queueing for a turn.