https://github.com/inunix3/raypong
Clone of Ping Pong written in C using raylib.
https://github.com/inunix3/raypong
2d-game c game just-for-fun ping-pong raylib
Last synced: 6 months ago
JSON representation
Clone of Ping Pong written in C using raylib.
- Host: GitHub
- URL: https://github.com/inunix3/raypong
- Owner: inunix3
- License: mit
- Created: 2024-08-03T23:36:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-28T18:56:26.000Z (10 months ago)
- Last Synced: 2025-02-09T07:18:42.521Z (8 months ago)
- Topics: 2d-game, c, game, just-for-fun, ping-pong, raylib
- Language: C
- Homepage:
- Size: 560 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# raypong #
A clone of the ping pong game. Uses [raylib](https://www.raylib.com/) for graphics and audio, and
[raygui](https://github.com/raysan5/raygui) for UI.
Written just for fun.
## Building ##
You can build simply by creating `build` directory, going to it and calling cmake (e.g. `cmake ..`).Optionally, you can install by typing `sudo cmake --install .`.
All assets such as sounds and images are copied into the binary file, so raypong is a single executable.
## Usage ##
Just type `./raypong` (or `raypong` if you have installed it)!## Controls ##
| Key | Action |
|----------|----------------------------|
| `Escape` | Exit to the main menu |
| `P` | Pause |
| `W` | Move the left paddle up |
| `S` | Move the left paddle down |
| `↑` | Move the right paddle up |
| `↓` | Move the right paddle down |## Contribution ##
If you have found a problem or have a suggestion, feel free to open an issue or send a pull request.
I'd appreciate it.## License ##
The raypong project is licensed under the [MIT license](LICENSE.md).