If you want you can try to make a better AI Mine usually lives for about 19 seconds before getting stuck on the wall and being obliterated by Cube it Turns 85-95 Degrees relative to Cube
Originally it was Much more Random and Only Live 3 Seconds on Average