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.
- Host: GitHub
- URL: https://github.com/boreec/pong
- Owner: boreec
- Created: 2022-11-23T06:46:25.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-23T06:47:25.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T15:57:49.658Z (6 months ago)
- Topics: game, game-development, indiegame, pong, pong-game, rust, rust-lang, sdl2, sdl2-library, sdl2-ttf
- Language: Rust
- Homepage: https://boreec.fr/projects
- Size: 60.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
