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
- Host: GitHub
- URL: https://github.com/axodouble/rockpaperscissors
- Owner: Axodouble
- Created: 2024-04-06T17:00:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-08T11:43:59.000Z (about 1 year ago)
- Last Synced: 2024-04-08T21:17:05.943Z (about 1 year ago)
- Topics: docker, express, html, nodejs, paper, rock, rps, scissors
- Language: JavaScript
- Homepage: https://ax2.sh/
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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/`