Fun Stuff > CLIKC
A programming thread!
ankhtahr:
Yeah, short in the sense that I have multiple additional methods, and one additional class. So lots of whitespaces and formatting.
And these additional methods all have checks for invalid parameters. So lots of redundant checks. But they're public, and my tutor likes to poke public methods until they break, so one should make sure they don't.
Masterpiece:
I would much rather work with try-catch expressions, but since none of the methods you're supposed to write have any throw declaration I wasn't able to.
If your tutor likes poking methods, you should rewrite dropBomb in my method implementation. That method doesn't check if the coordinate given is in the field.
I'm tired! I'm off to sleep now. If you still have questions, PM me ( I should hear the e-mail sound.)
ankhtahr:
I'll try to get my approach to work first, and I think I'm checking for valid coordinates everywhere. (Actually one of my methods is for checking whether a row (given with length, direction and coordinates) goes out of bounds, because I'm doing that everywhere.
The way my code looks right now, I've just thrown in everything I thought I could use, and will have to throw away around a quarter of it again, but I'm positive that it might do what it's supposed to do.
Also I think you've done enough for me by now, so I can finish without too much trouble. Thanks again!
ankhtahr:
Sometimes you just want to throw your notebook against a wall…
So I guess I won't get the bonus points. I won't sit here for another three hours, when I should be sleeping, only to do work I already did.
Masterpiece:
If you lost your work, just submit mine
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version