Skip to main content
8 events
when toggle format what by license comment
Jun 1, 2015 at 13:02 history edited Spikatrix CC BY-SA 3.0
Added author as OP adds it in every answer
Jun 1, 2015 at 10:03 comment added flawr No I thought you meant you encountered a bug in the program so I was looking for possible reasons. But you are right, obviously (if everything is correct) i>=6 should never happen.
Jun 1, 2015 at 5:59 comment added Spikatrix @flawr , Do I have to use turns[i%6]? I mean, takeTurn won't be called if the cat is blocked , right?
Jun 1, 2015 at 5:59 comment added Spikatrix @flawr , Damn. Poor choice of words. I meant that this cat isn't very intelligent. At times, this cat simply alternates between the top left circle and bottom right circle even when there is a way out...
Jun 1, 2015 at 5:57 history edited Spikatrix CC BY-SA 3.0
Removed my stupid comment about "bugs"
May 31, 2015 at 12:18 history edited flawr CC BY-SA 3.0
added 106 characters in body
May 31, 2015 at 12:17 comment added flawr Do you know what bugs you've encountered? The only thing I'd change would be altering turns[i] to turns[i%6] in order to avoid out of bounds (which should NOT occur in this stuation).
May 31, 2015 at 10:29 history answered Spikatrix CC BY-SA 3.0