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

Eliminate shapes that span full width or height of grid #9

Merged
merged 1 commit into from
May 13, 2024

Conversation

skedwards88
Copy link
Owner

@skedwards88 skedwards88 commented May 13, 2024

Eliminates shapes that span the full grid height or width. This should help remove shapes that only have a handful of potential positions. (Another option would be to check the width and height of the shape and calculate how many positions it could occupy in the grid. I choose this option instead because it also makes the shape more compact, which increases the puzzle-y aspect of the game.)

See also #8, where I did this as well as increased the grid size for larger shapes. I'm choosing this solution instead because a 5x5 grid felt too hard.

@skedwards88 skedwards88 merged commit 71240de into main May 13, 2024
2 checks passed
@skedwards88 skedwards88 deleted the limit-shape-span branch May 13, 2024 14:07
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

Successfully merging this pull request may close these issues.

1 participant