Skip to content

rangzen/ebitengine-rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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