Until now all I have is a method returning an array of stones of the same group, but any time I needed to know how many stones are in the group I needed to get the group and count the array positions. I created a new method for that, so I don't have to do this in all the methods that need a size of a group.
Why? I saw that I will need something like this in methods like "Jump".
No comments:
Post a Comment