Here is a very simple game
Here is first commit. I add Ball as a simple red rectangle 10x10, Pole as blue rectangle 400x400 and put Ball at the middle of Pole or at 200x200
Now I add Timer with 50ms tick. On every tick Ball moved and them I check boundaries. For easier control a move Ball inside Pole rectangle
What a game withoud sound? Grab free sound and set to play it on every wall hit. Testing with a permanent "ping" is terrible, so I add "mute" option
Add a Racket with reaction to key "UP" and "DOWN"
Make hitting of the bal to the wall much better visually. And ball now does not has height and width properties, only size.
Increase speed of ball and first version of function, that check hitting Ball on Rocket
Add "fail" sound
Block Racket movement after fail
Nice touches to Pole and add Score table
Add start sound and free re-run of the game
Fixing bug, when Ball hit Pole at bottom near Rocket. And now Ball bounce from Rocket much better.
And for hard core, after ever ball bounce size of ball decreased, and speed increased