MUD, object-oriented, aka MUD, object-oriented, is an actively used programming language created in 1993.

26Years Old 1,700Users 2Jobs

Example code from the Hello World Collection:

"Hello World in MOO";

player.location:announce_all("Hello, world!");

Example code from Linguist:

@program toy:wind
this.wound = this.wound + 2;
player:tell("You wind up the ", this.name,".");
player.location:announce(player.name, " winds up the ", this.name,".");
.

Example code from Wikipedia:

@program toy:wind
 if (this.location == player)
   if (this.wound < this.maximum)
     this.wound = this.wound + 2;
     player:tell("You wind up the ", this.name,".");
     player.location:announce(player.name, " winds up the ", this.name,".");
     if (this.wound >= this.maximum)
       player:tell("The knob comes to a stop while winding.");
     endif
   else
     player:tell("The ",this.name," is already fully wound.");
   endif
 else
   player:tell("You have to be holding the ", this.name,".");
 endif
 .
Edit

Last updated February 11th, 2019