Skip to content

Instantly share code, notes, and snippets.

@Silvyre
Last active February 16, 2017 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Silvyre/ee2494f2eb9c93e20374b3cc15f736f2 to your computer and use it in GitHub Desktop.
Save Silvyre/ee2494f2eb9c93e20374b3cc15f736f2 to your computer and use it in GitHub Desktop.
Supports 100+ Steps.
Step [[?{Step|5+4+3}]] ⇒ [[ [[{1e3, 14}<[[{?{Step}, 0}kh1 % 22]] + floor(([[{?{Step}, 0}kh1]]) / 22)]]d20! + [[{0, 1, 1, 2, 6, 10}=[[{?{Step}, 0}kh1 % 11]] - {-1, 1}=[[{?{Step}, 0}kh1]] + floor(([[{?{Step}, 0}kh1]] - 3) / 22)]]d10! + [[{0, 5, 9}=[[{?{Step}, 0}kh1 % 11]] + {1, 2}=[[{?{Step}, 0}kh1]] + floor(([[{?{Step}, 0}kh1]] - 3) / 22)]]d8! + [[{-1, 8}=[[{?{Step}, 0}kh1 % 11]] - {0, 1, 5, 6}=[[{?{Step}, 0}kh1 % 11]] + {-1, 1}=[[{?{Step}, 0}kh1]] + 1]]d[[4 + 2 * {4, 8, 9, 10}=[[{?{Step}, 0}kh1 % 11]] + 8 * ({2, 7}=[[{?{Step}, 0}kh1 % 11]] * (1 - {-1, 2}=[[{?{Step}, 0}kh1]]))]]! - [[{1, 2}=[[{?{Step}, 0}kh1]] * (3 - [[{?{Step}, 0}kh1]])]] ]]
Step [[?{Step|5+4+3}]] ⇒ [[ [[{1e3, 8}<[[{?{Step} - 11, 0}kh1 % 11]] + floor([[{?{Step} - 11, 0}kh1]] / 11)]]d20! + [[{2, 4, 5, 6, 7}=[[{?{Step}, 0}kh1 % 11]] + {1, 3}=[[{?{Step}, 0}kh1]] + {1e3, 3}=[[{?{Step} - 11, 0}kh1 % 11]] * 2]]d[[{{(?{Step} - 1) * 2, 4}kh1, {12} }kl1]]! + [[{1e3, 8}<[[{?{Step}, 0}kh1]] * (1 - {3, 6, 10}=[[{?{Step}, 0}kh1 % 11]] + {1, 4, 8}=[[{?{Step}, 0}kh1 % 11]])]]d[[10 - {4, 5, 8, 9}=[[{?{Step}, 0}kh1 % 11]] * 4]]! + [[{1e3, 8}<[[{?{Step}, 0}kh1]] * ({0, 5, 7, 9}=[[{?{Step}, 1}kh1 % 11]] + 2 * {6, 10}=[[{?{Step}, 0}kh1 % 11]])]]d8! - [[{1, 2}=[[{?{Step}, 0}kh1]] * (3 - [[{?{Step}, 0}kh1]])]] ]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment