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

[BUG] freecells were stack indefinitely #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

puellanivis
Copy link
Contributor

While playing a test game, I accidentally stacked a G-dragon on top of an 8 in the freecells, and I was baffled at where it disappeared to. Moving the 8 out of the freecells into an empty row, it moved “the whole stack” of the 8 and G-dragon into the empty row.

Investigating, I realized this conditional could never be true, because the two conditions are logically exclusive of each other.

While playing a test game, I accidentally stacked a G-dragon on top of an 8 in the freecells, and I was baffled at where it disappeared to. Moving the 8 out of the freecells into an empty row, it moved “the whole stack” of the 8 and G-dragon into the empty row.

Investigating, I realized this conditional could never be true, because the two conditions are logically exclusive of each other.
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