PASO 17: Si la lista de ladrillos está vacía, ¡el usuario ha ganado! Agreguemos esa condición a nuestro evento de intervalo.

  • En LÓGICA de agregue Get Length of List sangría UNA VEZ dentro del evento de intervalo.
  • Cambie my_var a bricks_left y my_list a bricks .

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)