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

Cannot always move all possible cards in a stack in Freecell #46

Open
GoogleCodeExporter opened this issue Jan 3, 2016 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a stack of alternating color cards in 
Freecell.
2. Try to move all (or even some) of the cards.
3. Some of the time the game will only give the 
option of moving the lowest few cards.

What is the expected output? What do you see 
instead?
All cards should be available to move from a valid 
stack.  Instead, sometimes only a few are 
available. 

What version of the product are you using? On 
what operating system?
1.12.1, on Android 2.0.1 running on a Motorola 
Droid. 


Please provide any additional information below.


Original issue reported on code.google.com by ibelongi...@gmail.com on 8 Mar 2010 at 11:17

@GoogleCodeExporter
Copy link
Author

In freecell, you can only move the number of cards equivalent to the number of 
empty 
spaces plus one.  Technically you are moving one card at a time, filling in the 
blank spaces, and then recombining them into a single stack.

For example, if you have an empty space on the board and four empty cells, the 
maximum number of cards you can move to the empty space would be five.  The max 
you 
could move onto another card would be six (by putting the first five cards into 
the 
five empty cells/spaces and the sixth card on the new stack, then recombining). 
 It 
does get a little confusing if you have a space on the board because the game 
will 
allow you to select six cards but you would only be able to move a stack of 
five 
into the empty space.

Original comment by TrumpetM...@gmail.com on 16 Mar 2010 at 8:26

@GoogleCodeExporter
Copy link
Author

this is not quite correct.
you should be able to move
(1+free spaces)*(1+free cells)
if you have 1 cell and 1 space, first card goes in cell, second on space, then 
first on second, third on cell, fourth on destination,third on 
destination,first on cell,second on destination, first on destination.
(1+1)*(1+1)=4 not 3 as you would suggest. 
it is annoying doing this manually. 
also if you move to a free space it must be taken out of the equation.

Original comment by trisb...@gmail.com on 29 May 2011 at 12:34

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

No branches or pull requests

1 participant