Server for https://github.com/twig33/ynoclient
Change the number of rooms in main.go:
NUM_ROOMS = 180 //!!! change this if not hosting yume nikki
Set the PORT environment variable. If you don't, it defaults to 8080.
git clone https://github.com/twig33/orbs
cd orbs
go mod download github.com/gorilla/websocket
go build
- Build https://github.com/twig33/ynoclient
- Put index.js and index.wasm in public/
- Put the game files in public/play/gamesdefault
- Run gencache in public/play/gamesdefault (can be found here https://easyrpg.org/player/guide/webplayer/)
- Run orbs (or push to heroku)
Based on https://github.com/gorilla/websocket/tree/master/examples/chat