This is a simple console-based Pong game implemented in C++. The game allows two players to control paddles and try to hit a ball back and forth. The first player to reach a score of 5 wins the game. The game features adjustable difficulty levels and player name input.
- Two-player Mode: Players can control their paddles using keyboard inputs.
- Dynamic Ball Movement: The ball moves and bounces off walls and paddles.
- Score Tracking: The game keeps track of each player's score.
- Game Over Condition: The game ends when a player reaches a score of 5.
- Difficulty Levels: Players can select from different difficulty levels that affect the speed of the ball.
-
Player 1 Controls:
Z
orz
: Move paddle upX
orx
: Move paddle down
-
Player 2 Controls:
- Up Arrow: Move paddle up
- Down Arrow: Move paddle down