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

https://github.com/axodouble/rockpaperscissors

rock paper scissors
https://github.com/axodouble/rockpaperscissors

docker express html nodejs paper rock rps scissors

Last synced: 6 months ago
JSON representation

rock paper scissors

Awesome Lists containing this project

README

        

# emoji rps

a very simple js script to bounce around some emojis in a rock paper scissors game

# preview
try it out at [ax2.sh](https://ax2.sh/)

# how to use

you can run it in 2 ways, either by running it with express js in nodejs, or by using the docker image

## nodejs

1. install nodejs
2. run `npm install`
3. run `node app.js`
4. open your browser and go to `http://localhost:80`

## docker (self-build)

1. install docker
2. run `docker build -t emoji-rps .`
3. run `docker run -p 80:80 emoji-rps`
4. open your browser and go to `http://localhost:80`

## docker (prebuilt image)
1. install docker
2. run `docker run -p 80:80 ghcr.io/axodouble/rockpaperscissors:main`
3. open your browser and go to `http://localhost:80/`