https://github.com/macasteglione/pong-c-
The Pong game made with c++
https://github.com/macasteglione/pong-c-
classic classicgames cpp pong pong-clone pong-game raylib raylib-cpp videogames
Last synced: 3 months ago
JSON representation
The Pong game made with c++
- Host: GitHub
- URL: https://github.com/macasteglione/pong-c-
- Owner: macasteglione
- License: mit
- Created: 2024-02-27T16:51:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T18:13:29.000Z (about 1 year ago)
- Last Synced: 2025-02-07T08:32:35.350Z (5 months ago)
- Topics: classic, classicgames, cpp, pong, pong-clone, pong-game, raylib, raylib-cpp, videogames
- Language: C++
- Homepage:
- Size: 6.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pong!
This is a C++ version of the classic Pong game, created with Raylib and CMake for the build. Here is a simple illustration I've made while learning C++. I hope you had fun!
## Build
It is a Make project, so it builds very simply. Open a terminal inside this folder:
```shell
make windows
```
Or for Linux:
```shell
make linux
```## Run
* On macOS, you get a bundle that you can simply open.
* On Windows/Linux, you get an executable that you can simply run.## How to play
"W" and "S" are the controls for the first player. The controls for player two are "I" for up and "K" for down. To pause and resume the game, press "P", to quit press "Esc".## Embedded Project
* [raylib](https://github.com/raysan5/raylib)