Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.29 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.29 KB

Rock Paper Scissors War

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/.

Running

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

Building

To build the game, run the following command:

go build

Building the WebAssembly version

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

Resources