...
- The command
means Acker received a gift of the specified article (<adjective> <article>) of clothing. In response, the simulation outputsCode Block receive <adjective> <article>
and updates the state of theCode Block received <adjective> <article>
StudentEnvironment
. For example,
generatesCode Block receive argyle socks
and adds theCode Block received argyle socks
argyle socks
to the top of thesocks
pile on the shelf. - The command
means Acker misplaced the specified article of clothing. If the item exists and Acker is not wearing it, the simulation outputsCode Block lose <adjective> <article>
and updates the state of theCode Block lost <adjective> <article>
StudentEnvironment
accordingly. If Acker is wearing it, the simulation outputs
and leaves theCode Block Acker is wearing <adjective> <article>
StudentEnvironment
unchanged. If the item does not exist, the simulation outputs
and leaves theCode Block <adjective> <article> does not exist
StudentEnvironment
(i.e. Acker) unchanged. - The command
means Acker doffed the specified article of clothing, discarding it in the dirty laundry pile, and donned a replacement article using the protocol described above. In response, the simulation outputsCode Block change <article>
describing the article doffed and the article donned.Code Block doffed <adjective> <article>, donned <adjective> <article>
If Acker has no clean garment of the specified type, the status string returned should indicate this. For instance, suppose Acker was asked to change his pants when he has no clean pants and is already wearingblack-ink-grunge pants
:Code Block Nothing to change into! Doffed black-ink-grunge pants, donned black-ink-grunge pants
- The command
means Acker washed and dried a load of laundry. If the dirty clothes pile is not empty, the simulation outputsCode Block launder
listing the clothes in the order they were removed from the dirty clothes pile. If the dirty clothes pile is empty, the simulation outputsCode Block washed <adjective> <article>, ..., <adjective> <article>
Code Block nothing to wash
- The command
means Acker retrieved a load of laundry, folded it, and put it on the closet shelf. If a load of laundry is available, the simulation outputsCode Block fold
for the oldest unfolded load. List the clothes in the order they are placed on the shelf. Hence the top garment on the shelf should be the last one listed. If no load of laundry has been washed and dried, then the simulation outputsCode Block folded <adjective> <article>, ..., <adjective> <article>
If the oldest load is empty (because all items in it were lost), the simulation outputsCode Block nothing to fold
Code Block folded empty load
- The command
asks "what is Acker wearing?" The simulation outputsCode Block outfit
Code Block wearing <adjective> <shirt>, <adjective> pants, <adjective> socks
...