https://github.com/rangzen/ebitengine-rock-paper-scissors
Rock Paper Scissors Wars
https://github.com/rangzen/ebitengine-rock-paper-scissors
ebiten ebitengine go golang rock-paper-scissors
Last synced: 6 months ago
JSON representation
Rock Paper Scissors Wars
- Host: GitHub
- URL: https://github.com/rangzen/ebitengine-rock-paper-scissors
- Owner: rangzen
- Created: 2022-12-27T05:48:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T23:39:36.000Z (over 3 years ago)
- Last Synced: 2026-01-13T03:29:58.509Z (6 months ago)
- Topics: ebiten, ebitengine, go, golang, rock-paper-scissors
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rock Paper Scissors War
This is a simple rock paper scissors game written in Go using the [Ebitengine](https://ebitengine.org/) game library.
I wanted my own version of https://9gag.com/gag/ap92GVn.
You can see an online version at https://rangzen.github.io/ebitengine-rock-paper-scissors/.
## Running
To run the game, you need to have Go installed.
Then, run the following command if you have cloned the repository:
```bash
go run main.go
```
or simply
```bash
go run github.com/rangzen/ebitengine-rock-paper-scissors@latest
```
## Building
To build the game, run the following command:
```bash
go build
```
## Building the WebAssembly version
To build the WebAssembly version, run the following command:
```bash
GOOS=js GOARCH=wasm go build -o ebitengine-rock-paper-scissors.wasm github.com/rangzen/ebitengine-rock-paper-scissors
```
## Resources
* Rock icon by Icons8
* Page Facing Up icon by Icons8
* Scissors icon by Icons8