Skip to content

glacials/honestdie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

a websockets-synchronized die roller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published