This is a project that implements a single-player version of the Pong game, using the Pygame framework in Python.
Before running the game, you need to have Pygame installed in your Python environment. To install it, execute the following command in the terminal:
pip install pygame
Once Pygame is installed, simply execute the AlonePong.py
file in your terminal using the command:
python3.9 alonePong.py
Some features of this project:
- Only one player controlled by the keyboard;
- Movement of the paddle through the arrow keys;
- Each new ball has a random velocity, and the game does not have a defined end;
- Simple and minimalist graphical interface.
This project was developed for learning and improving Python and Pygame skills. However, contributions are always welcome! If you encounter any issues in the code or have suggestions for improvements, feel free to open an issue or send a pull request.
This project is released under the MIT license. See the LICENSE file for more details.