Python-Projects
Python-Projects copied to clipboard
Update Pong.py
In this version:
1.Scoring is implemented. Each time the ball passes one of the paddles, the opponent scores a point. 2.A simple AI controls the second paddle (paddle2). It follows the ball's vertical movement. 3.The game displays the current score at the top of the screen.