stop gameplay when victory or defeat