An open API service indexing awesome lists of open source software.

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

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