Welcome to the Ping Pong game! 🏓
This classic arcade-style game lets you control paddles and bounce a ball back and forth. Let's set up the game and get ready for some fun!
-
Paddle A (Left Paddle):
- Use the
W
key to move the paddle up. - Use the
S
key to move the paddle down.
- Use the
-
Paddle B (Right Paddle):
- Use the
Up Arrow
key to move the paddle up. - Use the
Down Arrow
key to move the paddle down.
- Use the
-
Ball Movement:
- The ball will automatically move across the screen.
- Your goal is to prevent the ball from hitting the top or bottom borders.
-
Scoring:
- When the ball collides with the right paddle (Paddle B), it changes color to blue.
- The ball will bounce back in the opposite direction.
-
Winning:
- Keep the ball in play as long as possible.
- Challenge a friend and see who can score the most points!
W
: Move Paddle A UpS
: Move Paddle A DownUp Arrow
: Move Paddle B UpDown Arrow
: Move Paddle B Down
Feel free to customize the game, add sound effects, or enhance the graphics. Happy playing! 🎮🚀