The Lady, or the Tiger? by Stockton, Frank Richard
 is a Project Gutenberg book, now on Github.