Ryk gave me a heart attack yesterday! Like I felt like I was going to collapse. He entered 0s for the mark to scare us all and make sure that we handed it in soon.
Anyways, all I had left to do was test cases...
until I found a bug, where the "recreate" maze button didn't work. So I changed a bit of the code, where there's two different initialize methods - one for doing it first, and then the other for resetting the values.
I was having trouble finding out how to differ the initializations, when I chose to do two separate ones. It helped a lot.
But after this, the map had holes in the middle of nowhere, where things wouldn't display. I later found out that I failed to call the gameBoard(); method which added the thing to the screen. So I'll be done the test cases, polish up the pseudocode that I wrote before, and I think I'll hand it in by tonight.
No comments:
Post a Comment