C++ SFML Mini Game #1: Pong


Pong is a classical video game. In my version’s Pong, you can play with your friend or the AI.

In addition, I made some small changes based on the original game mechanics. Hope you can have fun.

  1. There is a moving obstacle in the middle of the playing area that the ball will bounce off of when hit.
  2. When one player’s get 2 more scores than another player, a ball will generated in the center and move toward the player who got higher score. After the ball generated, if both sides have same score, this ball will disappear.

How to Play

1. W/S for player1’s paddle movement; Up/Down for player2’s paddle movement;
2. Press ESC to back to the main menu anytime when the game started;




Leave a Reply

Your email address will not be published. Required fields are marked *