This is a simple Pong game created using the Raylib library. The game allows two players to control paddles and bounce a ball back and forth. The objective is to score points by getting the ball past the opponent's paddle.
-
Player 1 controls the left paddle:
- Press 'W' to move the paddle up.
- Press 'S' to move the paddle down.
-
Player 2 controls the right paddle:
- Press the 'UP' arrow key to move the paddle up.
- Press the 'DOWN' arrow key to move the paddle down.
-
The game keeps track of your score, displayed at the top of the screen.
-
The game will restart when one player scores a point.
- Simple and intuitive controls for two players.
- Score tracking for both players.
- Collision detection for paddles and walls.
- Ball bouncing and movement.
-
Clone or download the repository to your local machine.
-
Make sure you have Raylib installed. You can download it from the official website: Raylib Download
-
Compile and run the game using a C compiler.
-
Follow the on-screen instructions to play the game.
-
Player 1:
- Move up: 'W'
- Move down: 'S'
-
Player 2:
- Move up: 'UP' arrow key
- Move down: 'DOWN' arrow key
-
Quit the game: Close the game window or press the 'ESC' key.