Skip to content

Dev/pong - Pong Makeover#971

Open
ShaneBeee wants to merge 19 commits into
masterfrom
dev/pong-update
Open

Dev/pong - Pong Makeover#971
ShaneBeee wants to merge 19 commits into
masterfrom
dev/pong-update

Conversation

@ShaneBeee

@ShaneBeee ShaneBeee commented May 26, 2026

Copy link
Copy Markdown
Owner

Describe your changes

This PR aims to give pong a little makeover.

Key Changes:

Gameplay

  • Player vs CPU with arrow keys or scroll wheel to move your paddle
  • Ball speed scales up during a rally and resets on each point
  • Hit position physics — where on the paddle the ball lands affects angle and speed
  • 3-2-1 countdown before each serve so you're never caught off guard
  • Win condition — first to reach the target score wins (configurable)

AI Difficulty

  • Easy — lazy AI that randomly zones out and drifts when the ball is moving away
  • Medium — tracks the ball with a positional offset error
  • Hard — predictive AI that simulates the ball's trajectory and waits where it will land

Visuals

  • CRT-style neon aesthetic with scanlines, glow effects, and a dark background
  • Animated splash screen with typewriter intro and bounce animation
  • Neon paddles (cyan for player, magenta for CPU) and a yellow ball with a motion trail
  • Trail colour shifts yellow → orange → red as rally speed increases
  • Screen flash on score (cyan for player, magenta for CPU)
  • Particle burst on paddle hit
  • Red vignette pulses at screen edges when ball reaches max speed
  • Live rally counter displayed on screen during play
  • Custom dock icon drawn programmatically

Menus

  • Splash screen with difficulty selector (Easy / Medium / Hard) and score-to-win selector (3 / 5 / 7 / 10)
  • Pause menu with resume, quit, volume control, and stats reset
  • Win/lose overlay showing final score and all-time record for the selected difficulty

Sound

  • Synthesised sound effects with no external dependencies (paddle hit, wall bounce, scoring, win/lose, countdown, game start)
  • Volume control and mute toggle from the pause menu

Persistence

  • Win/loss record and best rally saved to ~/.skbee_pong_scores per difficulty level

Screenshots:
Screenshot 2026-05-25 at 11 03 46 PM
Screenshot 2026-05-25 at 6 33 14 PM
Screenshot 2026-05-26 at 8 21 32 AM
Screenshot 2026-06-15 at 8 53 16 AM


Target Minecraft Versions: any
Requirements: none
Related Issues: none

Checklist before requesting a review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant