And then from there back to another game: MyHouse.wad, https://en.wikipedia.org/wiki/MyHouse.wad
Just seeing a few images of the book's pages in this video, yeah it seems like a really interesting book that plays with the novel format directly.
https://en.namu.wiki/w/The%20Backrooms%20With%20Guns
I see others have mentioned Superliminal too, which was great.
If we want to go deeper, then I really think its Earthbound's absurdist take on childhood adventures with cultists, ghosts, dreamscapes, etc. but I think at that point I might as well say dice games influenced things.
You cannot grasp the true form of Giygas' attack!For the 4 people on HN who don't know, "maze of twisty passages" is a reference to the this (the?) text adventure game: