Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Looking at your code, that check seems to happen too late. Why not take care of this case at the start of function?
It's most probably an exception thrown by
at
, wheni
is out of range of whatever thesnail_map[leftRightCount]
is.snail_map
is not empty, butsnail_map[leftRightCount]
is smaller thani
.