first working game with random ai