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

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

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
```