/orbs

Primary LanguageHTMLBSD 2-Clause "Simplified" LicenseBSD-2-Clause

orbs

Server for https://github.com/twig33/ynoclient

Configuring

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.

Building

git clone https://github.com/twig33/orbs
cd orbs
go mod download github.com/gorilla/websocket
go build

Setting up

  1. Build https://github.com/twig33/ynoclient
  2. Put index.js and index.wasm in public/
  3. Put the game files in public/play/gamesdefault
  4. Run gencache in public/play/gamesdefault (can be found here https://easyrpg.org/player/guide/webplayer/)
  5. Run orbs (or push to heroku)

Credits

Based on https://github.com/gorilla/websocket/tree/master/examples/chat