Simplified mark_opposit_corner in Ai class