dot-plot_static_world: Plot the world at a given time

.plot_static_worldR Documentation

Plot the world at a given time

Description

This function plots Karel'w wort at the requested time. Initially, time is 1 and with each action that Karel performs, time is incremented by one. Current time is stored in pkg_env$moment. This function is useful for debuggint and to get static images to be used in the examples in the handouts for studentes.

Usage

.plot_static_world(time, lang)

Arguments

time

The requested time

lang

language code (such as "en" or "es") for printing messages

Value

Prints the plot.


mpru/karel documentation built on May 12, 2024, 5:16 p.m.