A* win checking on client side