Good evening, all:
I am wondering if it is possible for a map to be too complicated to compile. It seems really silly to me to say that, but I’ll explain quickly – the map is a tesseract, which is a four-dimensional object projected into three dimensions. Because of this, the map folds back again and again on itself. Some rooms have as few as four exits, some as many as ten.
When I try to compile these two room definitions:
Room-24 is a room. North is Room-23. East is Room-22. South is Room-21. West is Room-20. Northwest, northeast, southeast, southwest, and down is nowhere. Up is Room-18.
Room-22 is a room. South is Room-21. East is Room-19. Room-24 is west. North is Room-23. Down is Room-37. Up is Room-48. Northwest, northeast, southeast, and southwest is nowhere.
I get this compiler error:
You wrote 'Up is Room-18' , but in another sentence 'Up is Room-48' : but this looks like a contradiction, which might be because I have misunderstood what was meant to be the subject of one or both of those sentences.
But, as you can see, the sentences are part of two different rooms.
Furthermore, if I change the Up is Room-18 to Down is Room-18:
Room-24 is a room. North is Room-23. East is Room-22. South is Room-21. West is Room-20. Northwest, northeast, southeast, southwest, and up is nowhere. Down is Room-18.
Room-22 is a room. South is Room-21. East is Room-19. Room-24 is west. North is Room-23. Down is Room-37. Up is Room-48. Northwest, northeast, southeast, and southwest is nowhere.
I get:
You wrote 'Down is Room-18' , but in another sentence 'Down is Room-37' : but this looks like a contradiction, which might be because I have misunderstood what was meant to be the subject of one or both of those sentences.
The common factor is Room-24. But I can’t find anything wrong with Room-24’s coding, unless it is so obvious I am not seeing it. But this is what led me to the unlikely conclusion that the map may be too complicated to compile.
Anyway, as always I appreciate everyone’s time and thoughts.