| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A simple Pong game built with Pygame. It features a main menu, configuration screen, single-player (AI) and two-player modes, score/round tracking, and sound effects.
# Optional: create and activate a virtual environment
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS/Linux
source .venv/bin/activate
# Install dependency
pip install pygamepython pong.pyThis starts the app and opens the main menu from pong.menu. Use the mouse to select options.
Controls:
From the configuration menu (opened via main menu), you can set:
A player wins a round upon reaching the selected points. The match ends when a player wins the selected number of rounds and the game returns to the main menu via pong.main.
Game entry and loop orchestration:
Game objects:
UI:
All assets live under assets/:
Note: On case-sensitive filesystems the game uses the lowercase background file: assets/background.png.
No license specified.
| Back | FazBrowse Home | New Git URL |