https://github.com/hopson97/pong3d
Pong with some extra OpenGLy depth
https://github.com/hopson97/pong3d
Last synced: 3 months ago
JSON representation
Pong with some extra OpenGLy depth
- Host: GitHub
- URL: https://github.com/hopson97/pong3d
- Owner: Hopson97
- Created: 2020-07-03T09:52:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T11:30:29.000Z (over 3 years ago)
- Last Synced: 2025-04-19T20:22:45.799Z (about 1 year ago)
- Language: C++
- Size: 2.32 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pong3D
Pong except it is 3D.
## Building and Running
### Libraries
SFML and GLM are required.
These can be installed from your project manager. For example, on Debian/ Ubuntu:
```sh
sudo apt install libsfml-dev libglm-dev
```
If this is not possible (eg windows), you can install these manually from their respective websites:
https://www.sfml-dev.org/download.php
https://github.com/g-truc/glm/tags
### Linux
Requires conan
```sh
python3 -m pip install conan
```
To build, at the root of the project:
```sh
./scripts/build.sh install
```
If the build fails, try installing:
```
sudo apt install libx11-dev
sudo apt install libgl1-mesa-dev
sudo apt install libegl-dev
```
The install argument is only needed for the first time compilation as this is what grabs the libraries from Conan
To run, at the root of the project:
```sh
./scripts/run.sh
```
To build and run in release mode, simply add the `release` suffix:
```sh
./scripts/build.sh release
./scripts/run.sh release
```