Bug fixed
Cause: In Interaction.java, function setDirection, the conditionals are attempting to compare strings by using the operator ==, which will always fail because of differing literals, instead of the given function string.equals(string); as a result, the tc and tr values always hold the value 0, which is reprensented as a VERTIW at (0,0), thus the error message "keep walking into the wall".
Solution:
Replaced all == comparisons with equals().
Bug fixed Cause: In Interaction.java, function setDirection, the conditionals are attempting to compare strings by using the operator ==, which will always fail because of differing literals, instead of the given function string.equals(string); as a result, the tc and tr values always hold the value 0, which is reprensented as a VERTIW at (0,0), thus the error message "keep walking into the wall".
Solution: Replaced all == comparisons with equals().