
16 Dec
2007
16 Dec
'07
5:39 p.m.
Jack Kelly
struct room{ ... struct player * players; ... };
struct player{ ... struct room * room; ... };
Extreme programming (or maybe it was some other "agile" thingy) suggests doing the simplest possible approach that could conceivably work. What about: data Room = .. data Player = .. locations :: [(Player,Room)] ? -k -- If I haven't seen further, it is by standing in the footprints of giants