This is a simple implementation of the classic PONG game using the Simple and Fast Multimedia Library (SFML). The game involves two paddles and a ball. The goal is to score points by hitting the ball past the opponent's paddle.
- W / S: Move the right paddle up and down.
- Up / Down Arrow Keys: Move the left paddle up and down.
- Esc: Pause the game.
- Space: Start the game.
- Single-player mode with both paddles controlled by the player.
- Basic collision detection and response.
- Simple score tracking.
- Pause and resume functionality.
-
Download Game.zip
-
Unzip it
-
Run
pong.exe
Once the game is running, use the controls described above to play the game. The game will start when you press the Space
key. You can pause the game at any time by pressing the Esc
key.
This project is licensed under the MIT License. See the LICENSE file for details.