Closed ronentk closed 5 years ago
It might have something to do with the fact that the Z-Machine only looks for the first N characters. From the top of my head, I don't remember the exact N, maybe it is 6!
That's correct, zork only considers first 6 characters of any word.
On Tue, Dec 11, 2018, 7:50 AM Marc-Alexandre Côté notifications@github.com wrote:
It might have something to do with the fact that the Z-Machine only looks for the first N characters. From the top of my head, I don't remember the exact N, maybe it is 6!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/jericho/issues/15#issuecomment-446251630, or mute the thread https://github.com/notifications/unsubscribe-auth/AABNOa_SmA75n0S2Gc5q_A3n39Z9lg9Jks5u39REgaJpZM4ZNrjY .
From the z-spec section 13.3 / 13.4: Z file versions 1-3 support 6 character words, 4 and above support 9 character.
Hi, When trying to print the dictionary in Zork for example, only the first 6 letters are returned.
Any ideas why this may be happening? Thanks!
Sample code (used this zork z5 file, as there was no link on this site).
yields