The role of measurement in quantum games