WebAssembly in the Cloud

Overview of MUDs

inherit “/lib/room”;void create() {
::create();
set_short(“a simple room”);
set_long(“A simple room in a simple building.”);
set_description(“This is a simple room in a simple building. It is very nice.”);
add_exit(“north”, “/realms/descartes/north_room”);
}

waSCC Overview

waSCC as an Evolution of LPMud

#[macro_use]
extern crate wasmud_mudlib as mudlib;
gameobject_handlers! { mudlib::msgs::CREATE => create }fn create(msg: mudlib::msgs::CreateMessage) -> HandlerResult<()> {
mudlib::room::create(); // Perform default room setup
set_short(“a simple room”);
set_long(“A simple room in a simple building.”);
set_description(“This is a simple room in a simple building. It is very nice.”);
add_exit(“north”, “/realms/descartes/north_room”);
}
fn create(msg: mudlib::msgs::CreateMessage) -> HandlerResult<()> {
mudlib::room::create(); // Perform default room setup
set_short(“a simple room”);
set_long(“A simple room in a simple building.”);
set_description(“This is a simple room in a simple building. It is very nice.”);
add_exit(“north”, “/realms/descartes/north_room”);
let dragon = clone_object(“/npcs/dragon”);
dragon.move(this_object())?;
}

Summary

In relentless pursuit of elegant simplicity. Tinkerer, writer of tech, fantasy, and sci-fi. Converting napkin drawings into code for @CapitalOne