A two player Pong clone, written in Lua using LÖVE2D.
This game is under development and has only been tested on a single Android 11 device. Some bugs, kinks, missing features (title screen, restart button, etc.) and such are WIP.
- LÖVE for Android (v11.3) with storage permissions granted
- Termux with storage mounted (i.e. can access Downloads from Termux storage)
Lua 5.3
make
zip
- LÖVE for Android (v11.3) with storage permissions granted
Pong is a table tennis style game where players must keep a ball in play using paddles. If the ball goes beyond the player's paddle, the opponent gets a point.
In this clone, the first player to 5 points wins.
The paddle remains in constant motion. Players change the direction of their paddle by tapping on their half of the screen.
- Clone the repo and enter it
git clone https://github.com/patrickm663/pong.git
cd pong/
- Run
make
make
- A
.love
file is created and copied toDownload/lovegame
Enter the repository and use make
make run
Add/access the .love
file to Download/lovegame
or similar and open with LÖVE for Android.
The Makefile
is from https://github.com/CSaratakij/LovePlayground. The author @CSaratakij also guided me on which version of LÖVE for Android to use.
The original Pong game is copyright Atari Inc, 1972.