Planet of the Gods by Williams, Robert Moore
 is a Project Gutenberg book, now on Github.