govariantsteam / govariants

A place to play Go variants
https://www.govariants.com
GNU Affero General Public License v3.0
5 stars 1 forks source link

pull out function examine group into utils #331

Closed merowin closed 6 days ago

merowin commented 1 week ago

This extracts the function examineGroup from SFractional into the group utils. Maybe this function can serve as a generic helper function for variants like sfractional, similar to getGroup.

The returned array "adjacent" is not used currently, but I'm thinking this could be useful. I'd like to try and use it in future.

merowin commented 1 week ago

Now that I think about it, I'll add a test case first. Back to WIP