But you do need a math PhD to code it, because if you were coding it, you'd be Tarn Adams, who has a math PhD. There is no state in which one can be "coding Dwarf Fortress" and "not have a math PhD".
Most people in this thread believe that since a math PhD did not play a crucial role in Adams's ability to develop Dwarf Fortress, then it is true that such an alternative state of affairs is possible. (The language of "alternative universes" - usually called possible worlds in the literature - is one way of getting at this.)