hostile snakes

From Esolang
Jump to navigation Jump to search

hostile snakes is an esolang created by User:Yayimhere. hostile snakes is a 2d self modifying esolang with ladders. dont worry about the name, its just an overcomplicated pun

how it works

the pointer starts at the second column, second row, and moves around on ladders like this:

  • if it is at the bottom move to top
  • same but reversed for top
  • if somewhere between it will move up and move the ladder to the right
  • they function the same sideways but rotated 90 degrees

it will move up the nearest ladder(right priority) on the y level of the pointer, but if theres none the pointer will be moved up. if there still are no ladders the program halts. if the program halts after modifying it will not halt and it will append the program to itself. the program will error if the pointer is one the edges of the program. a ladder is this:

=\
=|
=|
=|-- this is the ladder
=|
=|
=/

yea. thats it