Keelan Lightfoot c9c88ac5a3 Shuffled event buffer around, look after go. | преди 8 години | |
---|---|---|
cmd/funmow | преди 8 години | |
LICENSE | преди 8 години | |
README.md | преди 8 години | |
client.go | преди 8 години | |
db.go | преди 8 години | |
event_buffer.go | преди 8 години | |
event_distributor.go | преди 8 години | |
execution_context.go | преди 8 години | |
object.go | преди 8 години |
A multiplayer text based game written in Go, with MU* inspired userspace. Being MU* inspired, FunMOW has support for expanding the world with a set of in-game commands.
go get github.com/naleek/funmow/...
funmow
To fully enjoy FunMOW, use a MU* client. In testing (MacOS), the bog standard telnet
command doesn’t support unicode, but netcat (nc
) does.
{command,alternate}
[optional parameter]
<required parameter>
All objects in the game have a database reference (dbref), which is a signed integer assigned when the object is created. Dbrefs are incremented sequentially.
Object references support partial matches, if you see a frog and type get f
, you will acquire the frog. An object can be referred to by dbref by using the number preceeded by am octothorpe. This is handy when you end up with two objects with the same name, and only want to get one of them: get #123
These commands are only valid in the authentication phase of gameplay.
{con,connect} <username> <password>
quit
This is the stuff that you use the most when you’re not building things.
{look,l} [object reference]
{examine,ex} <object reference>
{say,"} <something>
{pose,:} <action>
{inventory,i}
get <object reference>
drop <object reference>
enter <object reference>
leave
quit
@force <object reference>=<command>
A note on exits. Exits support fixed aliases, so that you have the freedom to assign hidden shortcuts to exits. For example, <K>itchen;k;kitchen
will display as <K>itchen
, but can be used as <K>itchen
or k
or kitchen
. You can use as many aliases as you want on an exit.
@create <name>
@dig <name>[=<in exit>[,<out exit]]
@open <in exit>=<dbref>[,<out exit>]
@desc <object reference>=<description>
@name <object reference>=<name>
@tel <dbref>
@dump <object reference>
FunMOW was created and is maintained by Keelan Lightfoot.