RealityMoez / sfml_pong_game

SFML Pong Game - Visual Studio Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

SFML Pong Game - Visual Studio Project

License:MIT License


Languages

Language:C++ 78.6%Language:C 11.4%Language:JavaScript 4.9%Language:CMake 2.6%Language:CSS 2.1%Language:GLSL 0.5%