Skip to main content.

Goblin Game FAQ

Game Assignment Specification

Debugging

How can I debug a graphical program?

Debug similarly to a textual program: Add descriptive print statements to see which code is executing and the value of certain variables.

I'm having a problem. How can I get help?
Email me with the text of the compiler error (not a screenshot) and push your code.

Goblin Movement

My goblin looks like it's "bouncing" around the professor as they get close to each other. Why is that happening?
Add print statements with good labels if it's not clear as to why it's happening. The print statements will come flying, so be ready. How can you fix that? A little bounce may be okay but some bouncing may indicate that something wasn't coded as well as it should be. Once you understand the problem, it should be a relatively easy fix to get rid of the bounce completely. You may want to return to this issue with a clear head after you have gotten more comfortable with the code.