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 = TRUE)

Argumentos

loop

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

Valor

Produces an animation with gganimate.

Ver también

Ejemplos

generate_world("mundo001")

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