I'm not sure why the game is called "Rail's Basement", but it was pretty funny. Especially how the game ends with three red doors XD.
Rail is the name of man speaking to you, and then is the name spelt backwards...? The game do by the way not end with the red three doors.
Ah I see, "liar" backwards. I tried most of the doors and all three doors at the end, so I wouldn't know how to progress if that wasn't the end.
SPOILER! The answer is patience.