add play until win logic