Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 617 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 617 Bytes

SFML Pong Game

SFML Pong Game is a classic Pong game implementation using SFML (Simple and Fast Multimedia Library) and C++. Players control paddles to bounce a ball back and forth, aiming to reach the maximum score before their opponent.

Features

  • Player vs AI gameplay
  • Paddle and ball interactions
  • Win condition on maximum score
  • Restart option upon game over

Controls

  • Left Paddle: W (move up), S (move down)
  • Restart: R (when game over)

Gameplay

  • Right paddle is controlled by AI.
  • Ball bounces off paddles and screen boundaries.
  • Scoring occurs when ball bounces of left/right edge.