-
Notifications
You must be signed in to change notification settings - Fork 0
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
Issue with Score Increments for Vertical Matches #2
Comments
When I amend the findMatchedGems method in field to strip most the detail out and replace with this, then vertical gems are scored. To simplify I removed combos from score calculation. Suspect one of the other checks is happening and not updating the vertical checks.
|
For anyone else looking to use this as a basis (its really cool!) then its the bit in getAllMatchedGems responsible for checking long matches. The one that works along columns is missing the update to score:
It can be found in the iteration that runs over rows. |
When I match a vertical 3 the score does not increment. It does horizontally but not vertically. If it then triggers a horizontal match by cascading, then the score is recalculated.
The text was updated successfully, but these errors were encountered: