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

only one merger per traversal #4

Open
wants to merge 4 commits into
base: gh-pages
Choose a base branch
from

Conversation

glyphobet
Copy link

this fixes a rare situation:

if you had a row with 11133, and moved right, you would get:

...333

But if you moved left on the same row, you would get:

9....

Conversely, if you had a row with 33111 and moved left, you would get:

333..

But if you moved right on the same row, you would get:

....9

A similar situation occurs with vertical moves and similar tile patterns in columns.

this fixes a rare situation:

if you had a row with 11133, and moved right, you would get:

__333

But if you moved left on the same row, you would get:

9_____

Conversely, if you had a row with 33111 and moved left, you would get:

333__

But if you moved right on the same row, you would get:

_____9

A similar situation occurs with vertical moves and similar tile patterns in columns.
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