Patent attributes
A basketball machine includes a body having an inclined lane, a display configured to display a game having a plurality of challenges, a hoop including an engagement portion and an opening, a sensor configured to detect whether a ball has passed through the opening of the hoop, and a processor. The game has a first image layer showing a plurality of display areas, a reference object and a plurality of moving objects. The moving object moves towards and past the reference object. Each moving object has a bonus prize. The sensor generates a scoring signal when the detected result is positive. The processor calculates an accumulated number of times the scoring signal has been received and converts the accumulated number into an instant score. The processor determines whether the player qualifies as completing the current challenge, and controls the game to enter the next challenge when the determination is positive.