is that a trick question? ... if you look at the source, you'll find the algorithms used are extensively documented. short answer: it's a procedurally generated roguelike tomorrow's release will complete the alpha stage and then it's onto beta where all the placeholder formulas will be tweaked for gameplay...