An open API service indexing awesome lists of open source software.

https://github.com/medilies/php-pong

Classic Pong game programmed with pure OpenGL wrapped in OOP code
https://github.com/medilies/php-pong

2d game glfw opengl pong

Last synced: 7 months ago
JSON representation

Classic Pong game programmed with pure OpenGL wrapped in OOP code

Awesome Lists containing this project

README

          

# PHP pong

![gif](./screened.gif)

## Play it

- Download the latest release or clone the repo.
- Run `composer i`.
- Run `php ./play.php`.

### Control

- `SPACE` to start.
- `ESCAPE` to quit.
- Arrows to move the pad.

### Requirements

- PHP 8.1.
- Composer.
- [glfw](https://phpgl.net/getting-started/getting-started-with-php-and-opengl.html) PHP extension.

## Contributing

Anything is welcome :)