Software

Auto-Step Solution for BotEnvironment

Here’s a solution for the missing Auto-Step behavior in the environment for Lab2; thanks, Alan!

If you want to be updated about postings to the Blackboard Discussion forum, click on the forum title, and then on the “Subscribe” button at the top. Subscriptions can be enabled or disabled for a specific forum, so not all of them will have the “Subscribe” button.


Author: Alan Phu Truong. To Reply: https://blackboard.calpoly.edu/webapps/discussionboard/do/message?action=rlink&message_id=_422035_1

Solution:

Instead of using the following to start your environment:
java -classpath .:WumpusEnvironment.jar BotEnvironment.WumpusEnvironment

Use:
java -Xint -classpath .:WumpusEnvironment.jar BotEnvironment.WumpusEnvironment

AutoStep seems to work with this flag. Refer to the man page for java if you want to know what this flag does.
0 Comments