Basketball Counter

I built a basketball arcade game for my senior project and im looking to improve on it. right now i have a lever hitting a push button everytime someone scores a basket. i was wondering if there is a sensor made compatible with the arduino uno that could trigger when the ball goes through the hoop? the lever is bulky and sometimes interferes with the ball so im looking to get rid of it. thanks

you could use a led with a light detector that detects that something goes through the hoop.

but while typing this I recall balls that made "a turn" and blooped out of the hoop.
Will be difficult on..