Simulate two numbers of balls with a certain radius both colliding with the 4 sides of the screen and colliding with the balls themselves. At the moment of collision, the balls must move in the opposite direction. A progressing time in the game and the total score obtained should be displayed on the screen. +10 points will be scored when the balls are hit with a rectangular stick. After 30 seconds, the game will switch to “GAME OVER” mode. After waiting 5 seconds, the game will restart. The game screen will also show the maximum achieved score.
Please help me to make this game code
I am a beginner and i want to learn coding