Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does sectionWidth and sectionHeight mean? #3

Open
westonganger opened this issue May 1, 2017 · 5 comments
Open

What does sectionWidth and sectionHeight mean? #3

westonganger opened this issue May 1, 2017 · 5 comments

Comments

@westonganger
Copy link

westonganger commented May 1, 2017

First of all thanks for the wonderful library!

I am just wondering what the sectionWidth and sectionHeight values mean?

@westonganger
Copy link
Author

I am guessing that sectionWidth refers to the number of items removed per row.

@dlai0001
Copy link
Owner

dlai0001 commented May 1, 2017

it's the size of the sub boxes, for example a 9x9 are 9 grids of 3x3's, and 6x6 would be 6 grids of 2x3's

@westonganger
Copy link
Author

Can i use the size, sectionWidth, and sectionHeight to determine difficulty somehow?

@dlai0001
Copy link
Owner

dlai0001 commented May 2, 2017

The main determination of difficulty is 2nd parameter, which determines how many numbers per row are removed from the puzzle.

@westonganger
Copy link
Author

Awesome this was very helpful information. Feel free to close the issue or leave it for others to see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants