Added randomized ai games. Fixed instant crash.