Pong - the classic game (Python)
Sunday, Jun 30, 2019
Python
Python
About
Game of pong built using Tkinter. If the ball hits the gutter instead of paddle, the opponent scores a point. If the player is successful at blocking the ball with paddle, the ball bounces off the paddle towards the opponent at a slightly higher speed. Key pairs (f, d) and (j, k) are used to move both paddles to make contact with the ball.
Code
See the code here on Github.
What did I learn?
- Tkinter Library
- Using classes in Python
What can be improved?
- Adding mouse interactivity