A classic Pong game implementation written in the Odin programming language using the Raylib library.
- Classic 2-player Pong gameplay.
- Scoring system (first to 5 points wins).
- Ball color indicates direction (matches the target player's paddle color).
- Ball speed increases on paddle hits.
- Randomized ball direction on start/reset.
- Menu, Playing, and Game Over states.
- Sound effects for key events.
- Odin Compiler: Installation Guide
- Raylib: Included via
vendor:raylib. Ensure Raylib system libraries are installed if required by your OS.
-
Clone the Repository:
git clone https://github.com/cw222kq/pongOdin.git cd pongOdin -
Run the Game: Navigate to the project directory (if you aren't already there) and run:
odin run .
- Start Game:
P(from menu) - Left Paddle:
W(up) /S(down) - Right Paddle:
Up Arrow(up) /Down Arrow(down) - Restart Game:
R(on Game Over screen) - Quit:
ESC