fixed paika logic, capture, and sacrifice logic. made Random test AI more robust. fixed extraneous compile in script