Today I made something like cellular automata in ><>! It wasn’t working until I figured out that ><> reads characters from the grid as numbers, but stores characters by interpreting the number as an ascii code. So if I try to store 9, it writes a tab character (ascii 9). Adding 48 fixes the problem. Here’s the program:
v v
> >0123456789v
v <
> v
v <
> v
v <
> v
v <
> v
v <
>l3(?v1+@3+@86*+@p
>00.
Run it online with the ><> interpreter (the site is down, so that’s an Internet Archive link.) The program reads the open grid section, writes some numbers to it, and then repeats.
Your data is processed in accordance with my privacy policy. Comments are manually approved and may take a while to appear.