The game was created to
Below is the actual program.
The rules of the game are as follows
1. the user can tap and shoot a basketball that automatically falls from the top of the screen.
2. the goal is the basket ring in the center of the screen、Shooting into the ring adds one point to the score.
3. when the user removes the chute、The falling basketball appears again from the top of the screen.
Scores are displayed at the top of the screen and、It can be reset.