|
Lady Bugs
The red bugs are healthy and move forward continuously.
If trapped they turn either left or right. Occasionally (1
in 40) they will just stop and turn anyway.
The purple bugs are ill and randomly (1 in 10)
stop to preserve energy. They never turn unless trapped.
if WAIT > 0 decrement by 1
if random(10) = 0 then put 8 into WAIT
|