I made a new version of the Snake game in #Orca

I used to draw each body segment with it's own X operator, but suddenly I realized that I need only 2 - X for printing the char and X for erasing it. ​The tip of the tail receives the coordinates of the head with a delay, and this delay = the length of the snake.

Using enough Q operators I can make the maximum length of the snake as long as I want without worrying that Orca can only count to 35, it feels like cheating.

https://youtu.be/xYS3tytVll8

A good chunk of the patch is off screen, because no way I could fit it on video. Though the Offsets construction is too big, it makes the tail much longer than I can handle.
@vacuumbeef Can orca write arbitrary cells? I’m imagining some mechanism that continually marches to the right extending this off to infinity.

@bytex64 you can use X operator to write a character at max distance of 35 cells to the right and to the bottom, since you can't use bigger numbers. Maybe using bunch of X's to draw another bunch of X's and so on, but not sure where it could be useful

With this particular example with delays - this long construction works from right to left, so it's not applicable there. Though the point is - I can manually make it as long as I possibly need to, so roughly speaking already infinite.

@bytex64 on the other hand, after some thought, yeah actually I can probably do it even with this construction. And JS orca can write at arbitrary cells, so it's probably doable there. But only there.
@vacuumbeef Yeah. What I was thinking of was like the head of a self-replicating tape. It draws itself longer and longer, triggered by when the snake eats something. Like, using the play field as a way to store self-replicating delay counter. That would be pretty insane. Was just curious how possible it is.

@bytex64 @vacuumbeef Ooooh, that leads to an interesting question.

What is the smallest self-replicating pattern..