Ir al contenido

This function produces the animation that shows all actions performed by Karel since its world was generated by generate_world.

Uso

run_actions(loop = FALSE)

Argumentos

loop

A logical value TRUE or FALSE indicating if the animation should repeat itself after finished or not (defaults to FALSE).

Valor

Produces an animation with gganimate.

Ver también

Ejemplos

generate_world("mundo001")

move()
pick_beeper()
turn_left()
put_beeper()
if (interactive()) run_actions()