added action points checking triggering end turn