Git Product home page Git Product logo

solitaire-for-android's Introduction

Simple solitaire game.

Currently documentation is limited but I will add comments to the source and
detail the structure in here. 

Build Instructions:
------------------
I do not use eclipse so I can't really guarantee that it will build in that
environment. 

First off you need to download the SDK from http://code.google.com/android.
Once installed you need to modify solitaire's build.xml file to include the
path to the SDK (Two lines near the top). Then running ant should complete the
job. If you have difficulties, try building a sample program from
code.google.com first which has a bunch of detail and troubleshooting info.

solitaire-for-android's People

Watchers

 avatar

solitaire-for-android's Issues

Always starts on help menu

What steps will reproduce the problem?
1. Leaving the app & going into it again  
2.
3.

What is the expected output? What do you see instead?
I should see the last game I started. Instead, I see the help menu that appears 
right after 
install

What version of the product are you using? On what operating system?
The latest

Please provide any additional information below.
I've been waiting for over a month to hear back from you about this problem 

Original issue reported on code.google.com by [email protected] on 7 Dec 2009 at 7:57

disables notifications

I have tried everything I can to figure out if 
this is a problem with just my phone or if it is
Happening to others as well. When I am playing 
Solitaire and I receive a text or an email the sound 
and vibrate doesn't work, and then once I exit solitaire 
My notifications still don't work. I have to reboot my phone 
For them to work again. I have tried not playing for a few days 
And the problem doesn't occur, but I love the game so much 
And would like for the issue to be solved because its the only game
Available on the market that I play. I hope you don't think I'm crazy
And that you can find a solution to my issue.
Thank you,
Mike

Original issue reported on code.google.com by [email protected] on 17 Apr 2009 at 8:10

Cannot always move all possible cards in a stack in Freecell

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 [email protected] on 8 Mar 2010 at 11:17

No trackball on Droid...

What steps will reproduce the problem?
1. The directions say to deal a new deck in Spider Solitaire,  click trackball.
2.
3.

What is the expected output? What do you see instead?
Can't deal a new deck on Droid...

What version of the product are you using? On what operating system?

OS v2.01 Droid
Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Feb 2010 at 3:14

Icons

No icons for the menu. Furthermore the settings can be cleaned up.

Original issue reported on code.google.com by [email protected] on 28 Jan 2009 at 9:10

The same card appears twice in klondike solitaire

What steps will reproduce the problem?
1. New solitaire game
2. play
3. see two clover 8 cards in the deck

What is the expected output? What do you see instead?
One of every card

What version of the product are you using? On what operating system?
1.12.1 On N1

Please provide any additional information below.
my phone is rooted, any file I can send that would help?


Original issue reported on code.google.com by [email protected] on 21 May 2010 at 10:33

Cards can be grabbed while they are automoving

What steps will reproduce the problem?
1. Start a sequence of multiple auto-moves
2. Hover over a stack
3. In between moves the cards will be picked up, bugs begin.

Solution is to lock in the ANIMATE state until all cards have been
auto-moved, then switch back to NORMAL.

Original issue reported on code.google.com by [email protected] on 8 Dec 2008 at 9:12

Impossible to win

Games are unwinnable most likely due to the recent change with the
animation state.

Original issue reported on code.google.com by [email protected] on 9 Dec 2008 at 4:31

Crash on restart

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 18 Nov 2009 at 3:17

disables notifications

I have tried everything I can to figure out if 
this is a problem with just my phone or if it is
Happening to others as well. When I am playing 
Solitaire and I receive a text or an email the sound 
and vibrate doesn't work, and then once I exit solitaire 
My notifications still don't work. I have to reboot my phone 
For them to work again. I have tried not playing for a few days 
And the problem doesn't occur, but I love the game so much 
And would like for the issue to be solved because its the only game
Available on the market that I play. I hope you don't think I'm crazy
And that you can find a solution to my issue.
Thank you,
Mike

Original issue reported on code.google.com by [email protected] on 17 Apr 2009 at 8:13

disables notifications

I have tried everything I can to figure out if 
this is a problem with just my phone or if it is
Happening to others as well. When I am playing 
Solitaire and I receive a text or an email the sound 
and vibrate doesn't work, and then once I exit solitaire 
My notifications still don't work. I have to reboot my phone 
For them to work again. I have tried not playing for a few 
days And the problem doesn't occur, but I love the game so 
much And would like for the issue to be solved because its 
the only game Available on the market that I play. I hope 
you don't think I'm crazy And that you can find a solution
to my issue.
Thank you,
Mike

Original issue reported on code.google.com by [email protected] on 17 Apr 2009 at 8:21

Restarting when winning a game

What steps will reproduce the problem?
1. Win a game
2. Menu => Restart

What is the expected output? What do you see instead?
Restart but nothing happens and sometimes I get a force close.

What version of the product are you using?
Last from the market.

On what operating system?
Android 1.6

Please provide any additional information below.

I discover this while trying to beat my best time.
I founded an easy game and tried to restart after winning to repeat 
movements fast but when I clicked on Restart I got a force close instead.

I fix this by calling onPrepareOptionsMenu and enable/disable the restart 
button depending if the user won or not. I attached a patch.


Original issue reported on code.google.com by [email protected] on 20 Feb 2010 at 12:14

Attachments:

Number of Games Played wrong after lock-unlock

What steps will reproduce the problem?
1. Start a game of Freecell (Stats shows Games Played = N)
2. Move a single card (Games Played = N + 1)
3. Lock the screen by pressing the red button
4. Unlock the screen by pressing the menu button twice
5. Games Played = N + 1 correct
6. Move one more card
7. Games Played = N + 2 WRONG

What is the expected output? What do you see instead?

In step 7 Games Played should show N + 1, not N + 2.

What version of the product are you using? On what operating system?

Version 1.11

Please provide any additional information below.

Running on Cupcake (1.5)

Original issue reported on code.google.com by [email protected] on 5 May 2009 at 8:18

disables notifications

I have tried everything I can to figure out if 
this is a problem with just my phone or if it is
Happening to others as well. When I am playing 
Solitaire and I receive a text or an email the sound 
and vibrate doesn't work, and then once I exit solitaire 
My notifications still don't work. I have to reboot my phone 
For them to work again. I have tried not playing for a few days 
And the problem doesn't occur, but I love the game so much 
And would like for the issue to be solved because its the only game
Available on the market that I play. I hope you don't think I'm crazy
And that you can find a solution to my issue.
Thank you,
Mike

Original issue reported on code.google.com by [email protected] on 17 Apr 2009 at 8:15

doubled cards in spiser

What steps will reproduce the problem?
1. deal enough random hands with 4 suits, see 
duplicated cards, 2 10 of hearts for example
2.
3.

What is the expected output? What do you see 
instead?
should be an even deck. one if each value un each 
suit

What version of the product are you using? On 
what operating system?
downloaded tosay on android for motorola droid

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Jan 2010 at 10:49

Option to turn off auto-move

What steps will reproduce the problem?
1. Place an ACE or another card up top
2. Valid cards from the bottom automatically get moved up

I actually really like this feature, however there is a slight flaw with it
when it comes to strategy. For example, if there is a 4 of hearts by
itself, covering a large stack of down cards, it may get automatically
moved to the top when a 3 of hearts is moved there.

When things get grim, I tend to try moving cards from the "ace" pile back
down to the game so that I can place more cards or move stacks around.
However, if a one card covering a down card was auto-moved to the top,
there may not be a place to bring it back down to the bottom. Since the
game automatically moves cards for you, you're stuck once it happens.

Hope this makes sense! This is my favorite game on Android by far, even
though my stats are horrible (8 wins out of 86 games!). Thanks!

Original issue reported on code.google.com by dgurak on 13 Dec 2008 at 9:32

No deal option in Spider on the LG GW620R(LG Eve)

What steps will reproduce the problem?
1. no more moves in Spider and want to deal next set of cards
2. LG GW620R(LG Eve) does not have a track ball
3. no deck displayed to click

What is the expected output? What do you see instead?
there should be a deck that I can click on to deal the next set of cards.

What version of the product are you using? On what operating system?
the latest version that is free and on the Android market...I am using the
LG GW620R's Android OS

Please provide any additional information below.

Just to re-iterate: The LG GW620R(LG Eve)does not have a track ball that
can be pressed to get the next deal of cards in Spider when there are no
moves left with the current cards. There is also no display of a "deck" to
click on to get the next deal. 


Original issue reported on code.google.com by [email protected] on 7 Jan 2010 at 7:15

Add a hint system

Add an option to search for valid moves, and indicate them. Additionally
the system could be used to indicate when there are no valid moves left.


Original issue reported on code.google.com by [email protected] on 16 Dec 2008 at 6:11

Generic Anchor type for ease of game implementation

Add a GenericAnchor type to more easily implement new games (e.g. instead 
of the static SUIT_SEQ_STACK and SPIDER_STACK, be able to build anchors 
based on rules such as "build ASC in suits", "build DESC alternating 
colors").

Original issue reported on code.google.com by [email protected] on 27 Jan 2009 at 8:38

Italian translation

Hi,
can be possible translate this app in italian?

I mean, if i download strings file and translate it then the app will be
fully in italian or localization is not yet support?

Thanks,
Diego

Original issue reported on code.google.com by [email protected] on 24 Jan 2010 at 9:53

Stats wrong after reboot

What steps will reproduce the problem?
1. Check stats
2. Play part of a game of spider
3. Reboot phone 
4. Check stats again.  Game in progress counted as a loss

What is the expected output? What do you see instead?
Game in progress should not register as either win or loss after reboot

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Mar 2009 at 6:02

cannot move stacks in spider.

What steps will reproduce the problem?
1. Try to move cards from one stack. To another 
2.
3.

What is the expected output? What do you see instead?
No movement

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Aug 2009 at 12:00

unable to multi-select cards in forty thieves

What steps will reproduce the problem?
1. Have a stack I would like to move which is part of another stack. 
2. I tap the bottom card and scroll the card over the topmost card I would like 
to move 
3. I then drag the bottom most card to the stack I want to move the cards to.
4. The card then pops back to the original stack and doesn't move the cards.

What is the expected output? What do you see instead?
I expect the stack to move.

What version of the product are you using? On what operating system?
The am using an unlocked google issued holiday dream phone with cupcake 
installed

Please provide any additional information below.

You can reach me internally at google if you want to see what happens in 
person.  Who 
knows, I could just be lame and doing this wrong :)

Sarah Hughes

Original issue reported on code.google.com by [email protected] on 12 Jul 2009 at 8:52

sanity check fail: number

What steps will reproduce the problem?
1. Play solitaire until you're about to win the game.
2. Start removing cards from the upper-right "Aces" pile and moving them
down to the lower 7-card "Kings" pile.
3. Attempt to move all cards into one of the 4 "Kings" pile: K,Q,J...2,A
4. At sometime the automatic card function will kick in and start to move
them back up to the "Aces" pile
5. Failure occurs

What is the expected output? What do you see instead?
Dimmed screen with "Sanity check fail: 50 0"

What version of the product are you using? On what operating system?
Latest version on Firmware 1.1, Build number kila-user 1.1 PLAT-RC33 126986

Please provide any additional information below.
Great game, thanks!

Original issue reported on code.google.com by [email protected] on 6 Apr 2009 at 3:55

multi-card moves error in spider after 1.5 fw update on Tmo G1.

What steps will reproduce the problem?
1.trying to move 3+ cards 
2.
3.

What is the expected output? What do you see instead?
Was able to move 3+ cards to other stacks. Would not able to grab third card.

What version of the product are you using? On what operating system?
Latest. Cupcake 1.5 t-mobile G1.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Jun 2009 at 9:00

Add Save&Quit / Quit menu options

With the addition of the back button as undo, there is no way to quit
without saving. This results in bad behavior when a game is won and the
user immediately exits.

Enhance the save feature to no longer use the built in bundle operation
(did not appear to always work anyways). Also do not save while in the
WIN/WIN_STOP modes.

Original issue reported on code.google.com by [email protected] on 10 Dec 2008 at 10:44

Deals in Spider

Requesting a way to display number of deals left in spider.  Sometimes
returning to a saved game is confusing because I don't remember how many
deals I used (and play strategy changes depending on how many deals left).
 I would suggest just using text (like the timer).

Original issue reported on code.google.com by [email protected] on 21 Dec 2008 at 1:49

Crash on restart

What steps will reproduce the problem?
1. "Select" a card stack (when the game allows you to pick a card from a stack)
2.  Go in the menu and select restart
3.

What is the expected output? What do you see instead?
it should restart. Crashes instead

What version of the product are you using? On what operating system?
Latest on android

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 18 Nov 2009 at 3:20

games crashes if restart selected when auto moving many cards

What steps will reproduce the problem?
1. In solitaire, set auto move always 
2. Play winning end game with many cards auto moving
3. Select restart when cards auto moving. Game will freeze

What is the expected output? What do you see instead?

game locks up. Unable to close
What version of the product are you using? On what operating system?
Vet 449; Android 2 HTC desire


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Jun 2010 at 4:17

illegal multi-card moves in Forty Theives

What steps will reproduce the problem?
1. Play until a space has been achieved and there is a 2-or-more card 
sequence in suit (e.g. 4s-5s, or 3h-4h-5h, etc.)
2. move two cards from sequence into space
3. Notice the two cards successfully moved to space.

What is the expected output? What do you see instead?

The expectation is that this move is illegal. When you have a space, any 
single card can be moved there. This can be used to move two cards to 
another target stack, such as 4s-5s moved to 6s, by moving 4s->space, 5s-
>6s, 4s->5s.  In general you can move n+1 cards when n spaces are present. 
However, if the target is a space, then only n cards can be moved.


What version of the product are you using? On what operating system?
Version 1.12.1 on Android 1.5 on Google Ion.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 Jul 2009 at 9:27

Can't move stacks in 40 Thieves

What steps will reproduce the problem?
1. Trying to move a stack
2. Tapping a stack to move a partial stack

What is the expected output? What do you see instead?
When trying to move a full stack, only the top card moves. If I tap the stack, 
only the top 
card is highlighted.

What version of the product are you using? On what operating system?
1.12.1 on Motorola Droid 2.0.1

Please provide any additional information below.
Tried uninstalling, re-downloading, and reinstalling, did not fix problem.

Original issue reported on code.google.com by [email protected] on 29 Dec 2009 at 4:30

Italian translation

Hi,
i completed the italian translation of this nice app.

I attach here the file more the Market description hoping this will be
useful for other.

Bye,
Diego Pierotto

Original issue reported on code.google.com by [email protected] on 2 Apr 2010 at 11:56

Attachments:

Closing keyboard on spider deal causes deal to halt

On the Motorola Droid, if you deal the cards in spider solitaire and then 
close the keyboard before the deal is complete, the deal will stop in the 
middle.  The remaining deals will deal out 10 cards and the extra cards 
can be dealt even after it says "0 deals left".

Original issue reported on code.google.com by [email protected] on 16 Mar 2010 at 8:18

Solitaire Missing card while playing

What steps will reproduce the problem?

Could not reproduced until now.

What is the expected output? What do you see instead?
After playing solitaire and doing several Undos I was nearly finished when
suddenly a card was missing and the game could not be finished. The card
was there before the Undos

What version of the product are you using? On what operating system?
1.10 66,51 Kb

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Feb 2009 at 12:55

Crash on restart

What steps will reproduce the problem?
1. "Select" a card stack (when the game allows you to pick a card from a stack)
2.  Go in the menu and select restart
3.

What is the expected output? What do you see instead?
it should restart. Crashes instead

What version of the product are you using? On what operating system?
Latest on android

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 18 Nov 2009 at 3:21

Game goes into wierd state after reading a sms message

What steps will reproduce the problem?
1. Play a game
2. Read a text message via the top menu bar
3. Return to game

The cards appeared in one small stack with nothing else visable. A
save&quit followed by a restart remedies the problem, so it is most likely
an unexpected state change in android causing the bg not to redraw.

Original issue reported on code.google.com by [email protected] on 24 Dec 2008 at 7:14

Any card can be moved to empty space

What steps will reproduce the problem?
1.  Start solitaire
2. Create empty space
3. Move any card other than a King to the empty space.

What is the expected output? What do you see instead?
Only kings should be movable to empty spaces.

What version of the product are you using? On what operating system?
G1 market version

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Jul 2009 at 3:51

Freecell game missing a card

What steps will reproduce the problem?
Unknown

What is the expected output? What do you see instead?
When I thought I was about to win a game of Freecell, I instead found that
the deal included NO 5 of spades.  This may be related to issue 17
(http://code.google.com/p/solitaire-for-android/issues/detail?id=17), but I
can't confirm whether the card was there at the start of the deal or not -
upon discovering the missing card, I tried to undo out all the back out to
the beginning, to see if the card was misisng there, or had disappeared at
some point along the way - unfortunately, the game crashed when I tried to
do the "final" undo (ie, the one that would have restored the game to the
untouched deal).

What version of the product are you using? On what operating system?
1.10, on a G1


Original issue reported on code.google.com by [email protected] on 17 Mar 2009 at 4:42

Any card can be moved to empty space

What steps will reproduce the problem?
1.  Start solitaire
2. Create empty space
3. Move any card other than a King to the empty space.

What is the expected output? What do you see instead?
Only kings should be movable to empty spaces.

What version of the product are you using? On what operating system?
G1 market version

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Jul 2009 at 3:52

Always starts on Help menu

What steps will reproduce the problem?
1. Clicking on Solitaire tab on home page 
2. Clicking on 'Open' from My Downloads page in Market   
3.

What is the expected output? What do you see instead?
I expect to see the last game that I saved. I see the Help menu. 

What version of the product are you using? On what operating system
The latest version (after 'donut' update). Using MyTouch3G

Please provide any additional information below.
I didn't have this problem before 'donut' update. 

Original issue reported on code.google.com by [email protected] on 14 Oct 2009 at 4:30

moving a partial stack in freecell should be automatic based on the destination

Currently moving more than one card from a stack requires tapping the stack to 
expand 
it, and then dragging the highest card desired, which moves all lower cards 
with it.

This mechanism is confusing, and not needed.  When dragging one stack to 
another it is 
always clear which portion of the stack should be moved, except when the 
destination is 
an empty stack.

For example if a stack has 1 2 3, and I try to drag it to a stack with 5 4 3 
then it should 
move the 1 and 2 but leave the 3.

In the case of an empty stack I think it makes sense to move as many cards as 
possible, 
but leave the current mechanism when this isn't correct.

Original issue reported on code.google.com by [email protected] on 5 Feb 2010 at 6:45

cannot select and move a partial stack on nexus one

What steps will reproduce the problem?
1. Any game where you move partial stacks
2. Tap to move the stack
3. The top card is highlited and I can drag it up 
and down but only the top card is selected. Can 
only move top card.

What is the expected output? What do you see 
instead? Should be able to move legal partial 
stacks 


What version of the product are you using? On 
what operating system?
Nexus one


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 14 Jan 2010 at 6:41

Make multi-card moves atomic

Multi-card moves (dealing in spider) are handled as a sequence of
individual moves as opposed to a single move for animation purposes.
Changing AnimateCard.java to take a Move instead of an Anchor/Card pair
could make for a more atomic move process.

Original issue reported on code.google.com by [email protected] on 16 Dec 2008 at 5:12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.