><>, length 49, Cracked by Aaron
Regex (Javascript)
^.{7}\n.{12}\n\?.{6};[^v^]{27}(\n.{13}:&.{2}){2}$ Sample output (n=4)
1 2 3 4 8 7 6 5 9 10 11 12 16 15 14 13 Formatting is a bit weird, but checking for number length would have made it a lot longer. Might have gone a bit overboard on the regex, not sure!
Edit: Also I forgot to mention, I use the initial stack (-v flag) for input, not the usual fish input. Sorry!
###Original Code:
Original Code:
<v1*2&: >:{:}=?v:1+ ?^{r0}v;>&:&[r]{&:&2*+}::&:::&*@+@( +:}=?v>n" "o&:&{1 0~{oa<^v?)*&::&:} Aaron's is a lot simpler! The complexity of my original code is based around the idea of using n[r] every n-th number to flip that segment (row), then printing all numbers at once at the end