You'll have to search the area for the necessary components to construct your machine at the start. You can get infrared LEDs, hoops, a four-digit seven-segment display, basketball goals, and other helpful stuff.
Next, you must decide how the player will score a basket and which LED sensor you will construct. You may try using an IR LED antenna on the opposing sides of the needlework hoops inside. Drill the two holes in the hoops and superglue the sections together to build them.
Adding noises to your machine to increase its appeal is a good idea. It has the potential to make your machine look a lot more appealing. Finally, you might consider adding initials to help you achieve high scores.