Following the guidelines posted here:
https://www.mobileread.com/forums/sho...d.php?t=186007 I was able to compile the Git 1.3.2 interactive fiction interpreter (
https://github.com/DavidKinder/Git) for the Kindle Paperwhite.
It needs KTerm to run (
http://www.fabiszewski.net/kindle-terminal/).