This is a simple rock paper scissors game written in Go using the Ebitengine 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/.
To run the game, you need to have Go installed.
Then, run the following command if you have cloned the repository:
go run main.go
or simply
go run github.com/rangzen/ebitengine-rock-paper-scissors@latest
To build the game, run the following command:
go build
To build the WebAssembly version, run the following command:
GOOS=js GOARCH=wasm go build -o ebitengine-rock-paper-scissors.wasm github.com/rangzen/ebitengine-rock-paper-scissors