v6.0 • PRODUCTION READY

PONG PRO

Neon-styled arcade Pong with CPU AI, procedural sound, cloud-synced profiles, and a polished UI — all in a single Python file.

3 2

✨ Features

Everything you need for a premium retro arcade experience

🎮

Player vs CPU

Challenge an adaptive AI with 3 difficulty levels: Easy, Medium, or Hard.

🔐

Cloud Profiles

Login with a username to sync wins, losses, and level progress to the API.

🔊

Procedural Sound

No audio files needed — all sounds synthesized in real-time using pure Python.

🎨

Polished UI

Animated splash, countdown, particles, screen shake, and neon visuals.

🏆

Leaderboard

Track your stats locally with win rate, longest rally, and performance badges.

⌨️

Remap Controls

Customize keys for movement and pause — settings persist across sessions.

⌨️ Default Controls

Fully remappable in-game via the CONTROLS screen

Move UpW
Move DownS
Pause / ResumeESC
Leave GameL
RematchR
Main MenuM

🚀 Quick Install

Get playing in under 2 minutes

1
Clone or download the repository:
git clone https://github.com/github-deewhy/pong-pro.git
cd pong-pro
2
Install dependencies:
pip install pygame requests
3
Run the game:
python pong_v6.py
4
Optional: Build standalone app with PyInstaller:
pip install pyinstaller
pyinstaller --onefile --windowed pong_v6.py
📦 View on GitHub

🌐 API Integration

Optional cloud sync for player statistics

Base URL: https://pong.deewhy.ovh

Endpoints:

  • POST /api/user/{username} — Create or load profile
  • POST /api/user/{username}/update — Update win/loss stats

🔒 No authentication required. All data is anonymized by username only. Game falls back gracefully to local-only mode if API is unreachable.

📚 API Documentation