Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Make a game class there will be general parameters. Ball class, player class. The player will have 4 up down drop stop methods, then the game class will broadcast the position of the ball and the motion vector to the players through events, the bot will listen to all this and call up down stop. The bells and whistles like acceleration and deceleration need to be implemented, you can also add the size of the racket, acceleration with a long press, rebounds from the wall and obstacles falling from above
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question