A simple Pong clone written in Lua using the LÖVE 2D game framework.
This project recreates the classic Pong arcade game. It features basic ball and paddle physics, collision detection, scoring, and sound effects. The game is implemented in Lua and runs on the LÖVE framework.
- Two-player Pong gameplay
- Ball and paddle collision physics
- Score tracking
- Sound effects for paddle hits, wall bounces, and scoring
- Retro pixel font
- LÖVE 2D (version 11.x recommended)
- Install LÖVE for your platform.
- Clone this repository or copy the
pongfolder. - Run the game with:
Or, if you are inside the
love pong
pongdirectory:love .
- Player 1:
W(up),S(down) - Player 2:
Up Arrow(up),Down Arrow(down) EnterorReturn: Start game / ServeEscape: Quit
pong/
├── Ball.lua # Ball logic
├── Paddle.lua # Paddle logic
├── class.lua # Simple OOP helper
├── font.ttf # Retro pixel font
├── main.lua # Game entry point
├── push.lua # Virtual resolution library
├── sounds/ # Sound effects
│ ├── paddle_hit.wav
│ ├── score.wav
│ └── wall_hit.wav
- LÖVE 2D
- Sound effects and font are open source or created for this project.