Actually, there was already a port of that engine done to the Palm and some other platforms. I think it is (or was) called Frotz. I do not know if it is public domain or not, though...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs