discordapp MUD

alex eb4cdb11eb Merge branch 'saved-parties' of towerofnix/antipath into master %!s(int64=6) %!d(string=hai) anos
core 3f35b84bd6 Merge branch 'master' of https://notabug.org/alex/antipath into saved-parties %!s(int64=6) %!d(string=hai) anos
.editorconfig cdcc0c0db0 Add editorconfig %!s(int64=6) %!d(string=hai) anos
.gitignore 56fecc657b Fix gitignore %!s(int64=6) %!d(string=hai) anos
antipath 542feb4330 Add camo; refactor config loader %!s(int64=6) %!d(string=hai) anos
config.example.json 5bcb05e068 Add exemplary Player data class %!s(int64=6) %!d(string=hai) anos
license.txt 45b64b0bf5 Initial commit %!s(int64=6) %!d(string=hai) anos
package-lock.json 17bd182313 Merge branch 'impl-battles' of alex/antipath into master %!s(int64=6) %!d(string=hai) anos
package.json 17bd182313 Merge branch 'impl-battles' of alex/antipath into master %!s(int64=6) %!d(string=hai) anos
readme.md 542feb4330 Add camo; refactor config loader %!s(int64=6) %!d(string=hai) anos

readme.md

A Discord-based MUD. Requires Node.js.

Running

Start by cloning the repository (aka downloading it, and automagically setting up so it's easy for you to make and share contributions). Enter this in a terminal:

$ git clone https://notabug.org/alex/antipath.git path/to/antipath

You will need to set up config before the program works. Copy config.example.json to config.json, then edit it, filling in database access info and other miscellaneous information.

Once your config is set up (or you want to test it), follow these steps in your terminal:

$ cd path/to/antipath
$ npm install                 # The first time you run, to get Node.js dependencies
$ npm install --no-save nedb  # Or mongodb, which requires extra setup
$ node .                      # This is what you do to actually run the program