https://github.com/dpbm/rock-paper-scissors
A simulation of Rock Paper Scissors using Processing
https://github.com/dpbm/rock-paper-scissors
game processing rock-paper-scissors-game simulation
Last synced: 7 months ago
JSON representation
A simulation of Rock Paper Scissors using Processing
- Host: GitHub
- URL: https://github.com/dpbm/rock-paper-scissors
- Owner: Dpbm
- Created: 2024-08-03T19:02:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-04T13:11:26.000Z (over 1 year ago)
- Last Synced: 2025-06-03T19:20:07.806Z (7 months ago)
- Topics: game, processing, rock-paper-scissors-game, simulation
- Language: Processing
- Homepage: https://dpbm.github.io/Rock-Paper-Scissors/
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
https://github.com/user-attachments/assets/26edc1e2-74d3-48e9-bca7-52e664c6aa79
A Rock-Paper-Scissors game simulation using Processing.
## Usage
### Use pre-built binaries
There're two pre-built binaries which you can download [here](https://github.com/Dpbm/Rock-Paper-Scissors/releases/tag/v1).
### Docker
If you prefer you can also use the docker version. For that you may run:
```bash
# from docker hub
docker run -v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-e DISPLAY=$DISPLAY \
dpbm32/rock-paper-scissors
# or from ghrc
docker run -v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-e DISPLAY=$DISPLAY \
ghcr.io/dpbm/rock-paper-scissors:latest
```
also, remember to add the `xhost` permission:
```bash
xhost +local:docker
```
Note that you may have `X` installed in your host machine, and this setup for volume (`-v`) and display environment (`-e`) may change from distro-distro. These commands probably won't work on windows, so check the `X` setup if you wanna try.