Code Golf: Your own pet ASCII snake So, I wrote myself a one-liner which printed out a snake on the console. It's a bit of fun, and I wondered how I might condense my code...

Here's a (short) example output:

                +
                 +
                  +
                   +
                   +
                   +
                  +
                   +
                    +
                    +
                    +
                     +
                     +
                      +
                      +
                       +
                      +
                     +
                     +
                    +


Here's the specs:


In each line, a single non-whitespace character (whichever you like) is printed to the console, initially with 29 to 31 spaces padding to the left of it.
Each iteration, a random decision is made between these three actions


The amount of padding decreases by 1
The amount of padding remains the same
The amount of padding increases by 1



Do this 30 times, to print 30-segment long a snake to the console.

The shortest answer in bytes wins.
05AB1E, 15 14 bytes
30DF2Ý&lt;+ΩD0sú,

Try it online!
Uses 0.
Explanation
30DF2Ý&lt;+ΩD0sú,
30D            # Push 30 to the stack (One for the amount of iterations we are going to perform and one for the initial padding)
   F           # Pop one of the 30s and perform the following that many times...
    2Ý          # Push [0,1,2] ...
      &lt;         # and create [-1,0,1] from that
       +        # Add the last padding to every entry (e.g. 30 in the beginning resulting in [29,30,31]
        Ω       # Pick one of the results at random ...
         D      # and push it to the stack twice
          0     # Push 0 (Any character will work fine here) ...
           sú   # and pad it with the randomly chosen amount of spaces in the front
             ,  # Finally print the result with a trailing newline