run_actions: Run actions

View source: R/english_wrappers.R

run_actionsR 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()


karel documentation built on March 27, 2022, 1:05 a.m.