as I know all AIs are not good with randomness(though I don't know a thing about programming lol)
Let me blow your mind: All this simulations you see in my page including this one is the result of pure math, physics and coding. No AI whatsoever :). Nature is based on a simple set of math rules and equations.
Yes, I meant that. Just chose the wrong term :>Math is magicMath is poetry