Hand of Fate code generator