scrom / Experiments

a NodeJS text adventure - deliberately coded badly to re-experience the pain of legacy code
http://mvta.herokuapp.com/
2 stars 0 forks source link

linked Exits duplicate too much data #314

Open scrom opened 9 years ago

scrom commented 9 years ago

a location with doors should be able to specify the relevant exits with less information than currently. ideally either source and direction or source and destination should be plenty to find the matching exit on a location.

alternatively, the location doesn't need the linked exits and we just collect them from the doors (but I think this might be a lot more work and even less consistent)

scrom commented 9 years ago

From a look at the code this needs a big rethink - not one for a 45 minute stint on a Friday morning