How do basketball arcade scoreboards work?

Hey everyone,

I am looking for some insight on how basketball arcade systems keep track of scores.
Some systems use infared sensors and others use clickers/triggers, but I have no idea how/where they're implemented.

This link kind of helped me:

Appears to be IR emitter above hoop and IR receiver below the hoop? or other way around?

I am doing a project which will require me to use an arduino microcontroller and thought this would be cool.

Output would be on a 3 digit led display, hopefully noone scores above 999 lol

Thanks

Microswitch with long wire on arm, barely visible within hoop.

Very long debounce time (2 seconds or so).