I need someone with a better grasp of english than myself to do a bit of testing, if they have the time to spare.
I'm putting together a text adventure in Blitz and I intend to have a sidekick in it who you can order around. The code for this is all coming together nicely.
I've set it up so that the sidekick uses exactly the same bit of code as yourself to carry out his actions (i.e. the code for him to take items, is the same as the code for you take items).
The text in the game is written in the classic infocom first person style (i.e. You take the mushroom from the badger), but of course that won't make much sense for the game to give you the same text when the sidekick does this.
So I wrote a procedure to convert text from 1st to 3rd person, (he takes the mushroom from the badger) but there are a lot of odd rules within the english language, and I'm not certain I've expressed them in code as fully or effectively as possible.
I've hacked the procedure from the game into this little program. If anyone is up for it can you try and think of some 1st person prose that will cause it to return incorrect english. The results get written into "debuglog.txt" so just post any unusual results from that.
www.zen65317.zen.co.uk/simon/Test%201st%20to%203rd.zip
The Blitz code is also in there if anyone thinks they improve on what's there.
Feel free to use the existing code in the (unlikely) event it's of any use to you.
Anyway, thanks in advance.
I'm putting together a text adventure in Blitz and I intend to have a sidekick in it who you can order around. The code for this is all coming together nicely.
I've set it up so that the sidekick uses exactly the same bit of code as yourself to carry out his actions (i.e. the code for him to take items, is the same as the code for you take items).
The text in the game is written in the classic infocom first person style (i.e. You take the mushroom from the badger), but of course that won't make much sense for the game to give you the same text when the sidekick does this.
So I wrote a procedure to convert text from 1st to 3rd person, (he takes the mushroom from the badger) but there are a lot of odd rules within the english language, and I'm not certain I've expressed them in code as fully or effectively as possible.
I've hacked the procedure from the game into this little program. If anyone is up for it can you try and think of some 1st person prose that will cause it to return incorrect english. The results get written into "debuglog.txt" so just post any unusual results from that.
www.zen65317.zen.co.uk/simon/Test%201st%20to%203rd.zip
The Blitz code is also in there if anyone thinks they improve on what's there.
Feel free to use the existing code in the (unlikely) event it's of any use to you.
Anyway, thanks in advance.