run_actions {karel}R Documentation

Run actions

Description

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

Usage

run_actions(loop = TRUE)

Arguments

loop

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

Value

Produces an animation with gganimate.

See Also

generate_world

Examples

generate_world("mundo001")
move()
pick_beeper()
turn_left()
put_beeper()
run_actions()


[Package karel version 0.1.1 Index]