https://github.com/mashybasker/rps-battle-royale
Simulating Rock, Paper, Scissor fights in cellular automata style
https://github.com/mashybasker/rps-battle-royale
cellular-automaton rock-paper-scissors
Last synced: 10 months ago
JSON representation
Simulating Rock, Paper, Scissor fights in cellular automata style
- Host: GitHub
- URL: https://github.com/mashybasker/rps-battle-royale
- Owner: MashyBasker
- License: gpl-3.0
- Created: 2023-07-10T04:05:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-10T05:07:59.000Z (almost 3 years ago)
- Last Synced: 2025-03-27T14:51:23.572Z (about 1 year ago)
- Topics: cellular-automaton, rock-paper-scissors
- Language: C++
- Homepage:
- Size: 2.34 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rock Paper Scissors Battle Royale
Inspired by this [post](https://twitter.com/juanbuis/status/1600155605112496129), I wondered who will win if such an RPS contest were to be held. So I decided to implement it as cellular automata as a recreational activity.
## Quick start
Clone the project and `cd` into it
```bash
$ chmod +x build.sh // for the first time only
$ ./build.sh
$ ./rps
```
## Demo

**Color Maps**
- 🟨 => Rock
- ⬜ => Paper
- 🟥 => Scissor
# References
- [Cellular Automation Wikipedia](https://en.wikipedia.org/wiki/Cellular_automaton)
- [The twitter post](https://twitter.com/juanbuis/status/1600155605112496129?lang=en)
- [Rock-Paper-Scissors](https://en.wikipedia.org/wiki/Rock_paper_scissors)