perthgophers / puddle

The Perth Gophers Slackbot Mud Project
https://perthgophers.github.io/puddle/
MIT License
1 stars 1 forks source link

Feature/MUD - World builder for MUD services #34

Open AlexDunmow opened 7 years ago

AlexDunmow commented 7 years ago

Function to procedurally generate a world/dungeon for the MUD game.

Alternatively, mud world can be generated turn by turn?

Requires discussion

nii236 commented 7 years ago

Key = coordinates (X Y) Value = struct of that room

Example:

Get("1x5") will return the room located in row 1 column 5

The struct will look something like this (gob or protobuf):

type Room struct {
    Row       int
    Column    int
    Name      string
    LongDesc  string
    ShortDesc string
    Exits     []Exit
    Objects   []Object
    Actions   []Action
}