https://github.com/patrickm663/pong
A Pong clone for Android, written in Lua using LÖVE2D
https://github.com/patrickm663/pong
Last synced: about 2 months ago
JSON representation
A Pong clone for Android, written in Lua using LÖVE2D
- Host: GitHub
- URL: https://github.com/patrickm663/pong
- Owner: patrickm663
- License: mit
- Created: 2023-04-23T22:11:54.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-05T22:15:36.000Z (over 2 years ago)
- Last Synced: 2025-03-06T16:48:45.369Z (over 1 year ago)
- Language: Lua
- Size: 114 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/MIT)
# Pong for Android (LÖVE2D)
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.**
## Gameplay Demo

## Prerequisites
### Running
- LÖVE for Android (v11.3) with storage permissions granted
### Building
- 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
## How to Play
### Rules
_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.
### Controls
The paddle remains in constant motion. Players change the direction of their paddle by tapping on their half of the screen.
## How to Build
- 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 to `Download/lovegame`
## How to Run
### From Termux
Enter the repository and use `make`
```
make run
```
### From Files
Add/access the `.love` file to `Download/lovegame` or similar and open with LÖVE for Android.
## Acknowledgements
The `Makefile` is from https://github.com/CSaratakij/LovePlayground. The author [@CSaratakij](https://github.com/CSaratakij) also guided me on which version of LÖVE for Android to use.
The original _Pong_ game is copyright Atari Inc, 1972.