Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/honestdie. a websockets-synchronized die roller
Something went wrong. Try again.
Files
- Go 91%
- JavaScript 5%
- HTML 2%
- Docker <1%
- Makefile <1%
- 1 more language <1%
README.md
honestdie #
honestdie is a simple web app that picks a random element from a given group of elements, but does it on a page that everyone can see in realtime from separate devices, with the same result witnessed by all.
Running locally #
Prerequisites #
- Go 1.6+
go get -u github.com/jteeuwen/go-bindata/...
go get -u github.com/elazarl/go-bindata-assetfs/...
Building #
make
Running #
make run
Change the socket URL at the top of assets/js/app.js to ws://localhost:8080/websocket. Access at localhost:8080.