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

https://github.com/boreec/pong

Pong game reproduction.
https://github.com/boreec/pong

game game-development indiegame pong pong-game rust rust-lang sdl2 sdl2-library sdl2-ttf

Last synced: about 1 month ago
JSON representation

Pong game reproduction.

Awesome Lists containing this project

README

          

warning: this repository is a backup mirror for https://gitlab.com/boreec/pong

# Pong

Reproduction of the arcade game.

Here is a video of the game running: https://youtu.be/FyqXscHFBu0

Find more of my projects on:
https://boreec.fr/projects/

## How to execute ?

Use cargo to build/run the project with the following command:
```bash
cargo run --release
```

If an error occur, make sure the following packages are installed on the system:
```bash
sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-gfx-1.0.0 libsdl2-gfx-dev
```

## Gameplay

Your objective is to score as many goal as possible against the CPU. To add some challenge, when the ball bounces against a racket, its speed increases (to a limit).

The following controls are available:
* up arrow key: move the racket upward.
* down arrow key: move the racket downward.
* ESC key: quit the game.
* space key: restart the game.

## Images
![](img/game.png)