(01-01-2026, 02:53 PM)SMcNeill Wrote: (code fixed)
Issue fixed. Problem was, as suspected, an endless loop.
One of your worms was simply getting stuck in a corner and couldn't move. All I did was implement a simple limit to it trying to avoid the WHITE and then after 10 tries, it just shrugs and eats it way forward regardless. I might not *like* to eat white, but it won't just starve to death avoiding it constantly in an endless loop. 10 times of trying to find a random way around it, then it just wrinkles its none and moves forward anyway.
Interesting, so was the Rnd generator somehow changed from 2021 when this code was written and when QB64pe v4.0 was updated could be before that even, maybe when we changed C++ or whatever was changed to update the compiler.
I was just randomly lucky not encountering the handup before now is what I am thinking.
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever

