An LFE application
About ↟
TBD
Dependencies ↟
Languages and tools:
- a recent release of Erlang (e.g., Erlang 23)
rebar
,make
, andgit
Infrastructure:
- a PostgreSQL-compatible database
This can be set up locally by running Postgres in a Docker container:
$ cd priv/docker/postgres/
$ make run
Then, to set up the database with the latest schemas, run this:
$ rebar3 migrate
Build ↟
$ rebar3 build
Start the Project REPL ↟
This will also bring up all the applications configured for the release:
$ rebar3 lfe repl
Tests ↟
$ rebar3 lfe test
Usage ↟
At a high level, actual usage of the system as a MUSH server offering various games is this (checkboxes indicate development progress):
- Telnet to the registration server
- view help, issue commands, etc., but ultimately:
- provide your email address and a public SSH key
- receive a confirmation email
- provide the confirmation code in the telnet session
- log out
- SSH to the game server
- user id is the registered email address; access is by SSH key only
- view help, issue commands, etc., but ultimately:
- create a character
- select a game to join using a specificed character
- MUSH it up!
- Explore the world
- Build more of the world (dig out new areas)
- Get customised area descriptions based on changes in world state (event subscriptions)
PLayers with the builder
role are able to add new areas to the game, create and place items, update existing areas, etc. All players may build one home in an available location (for areas that are approved for homes where there are available slots).
License ↟
Apache License, Version 2.0
Copyright © 2020, Duncan McGreggor [email protected].