visited
visited
is an attribute for keeping track of
whether a location has been entered previously. As such, it is set by
MovePlayer after a successful move (if the
player wasn’t moved silently, DescribePlace
is called one time before it is set). The existence of the visited
attribute determines whether the room’s
initial description is printed when
DescribePlace is called. visited
is an
alias of the moved attribute.