About

A React-based classical pong game with PvP and PvE modes.

Features and Functionality

  • Two paddles (left and right) that move vertically
  • A bouncing ball that interacts with paddles and walls
  • Two game modes: player vs computer and player 1 vs player 2
  • Score tracking for both players
  • Game control instruction
  • Smooth paddle movement using keyboard controls (W/S for Player 1, Up/Down arrows for Player 2)
  • Realistic ball physics with proper collision detection
  • Game finishes/resets when a 10-point score is scored on one side
  • Responsive layout that works on different screen sizes
  • Clear visual feedback for scoring and collisions
  • Start/Pause/Reset game buttons
  • Winner declaration when reaching a specific score (10 points)

Applicable Challenges and Bonus

My project met the following challenge requirements and bonus:

  • Deploy Challenge
  • One-shot completion

Built With

Share this project:

Updates