Skip to content

Instantly share code, notes, and snippets.

@kavyak28
Created January 3, 2022 09:46
Show Gist options
  • Save kavyak28/7f9f33e9b55a6ad2b9a350073614825f to your computer and use it in GitHub Desktop.
Save kavyak28/7f9f33e9b55a6ad2b9a350073614825f to your computer and use it in GitHub Desktop.
Bug 154_AI hits wrong card
isValidMeldGroup:: D11 D9 D8 N15
getSequences: D8 D9 D11
isValidRankSequenceWithJokers:: D11 D9 D8
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
meld : D8 D9 D11 N15 : SEQUENCE
card with lowest Discrd index: D11 (Card)
its a sequence and c is : D11
adding: D11 to usefulcards list
obtainUsefulCards returned: D11
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulDiscards: discardCards.Count: 1
isValidMeldGroup:: D11 D9 D8 N15
getSequences: D8 D9 D11
isValidRankSequenceWithJokers:: D11 D9 D8
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
meld : D8 D9 D11 N15 : SEQUENCE
card with lowest Discrd index: D11 (Card)
its a sequence and c is : D11
adding: D11 to usefulcards list
obtainUsefulCards returned: D11
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8
isValidRankSequenceWithJokers:: S8 S10
card: S10, nextCard: S8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: D11 D9
isValidRankSequenceWithJokers:: D9 D11
card: D11, nextCard: D9
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulDiscards: discardCards.Count: 1
isValidMeldGroup:: D11 D9 N15
getSequences: D9 D11
isValidRankSequenceWithJokers:: D11 D9
card: D11, nextCard: D9
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
meld : D9 D11 N15 : SEQUENCE
card with lowest Discrd index: D11 (Card)
its a sequence and c is : D11
adding: D11 to usefulcards list
obtainUsefulCards returned: D11
halfSeq: S1 S5 S4 S3 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 6, cardCount: 6
obtainUsefulDiscards:: 6
obtainUsefulCards returned:
halfSeq: S1 S5 S4 S3 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 6, cardCount: 6
obtainUsefulDiscards:: 6
obtainUsefulCards returned:
halfSeq: S1 S5 S4 S3 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 6, cardCount: 6
obtainUsefulDiscards:: 6
obtainUsefulCards returned:
halfSeq: S5 S4 S3 S2
isValidRankSequenceWithJokers:: S2 S3 S4 S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 5, cardCount: 5
obtainUsefulDiscards:: 5
obtainUsefulCards returned:
halfSeq: S8 S7 S5
isValidRankSequenceWithJokers:: S5 S7 S8
card: S8, nextCard: S7
card: S7, nextCard: S5
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
returned from pickResidualUsefulDiscardsFromSequences: D11 D11 D11
isValidMeldGroup:: H9 S9 C9
getSequences: H9 S9 C9
isValidRankSequenceWithJokers:: H9 S9 C9
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 3, cardCount: 3
meld : H9 S9 C9 : SET
meld: H9 S9 C9 , meldState: ms: SET
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: H9 S9 C9
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C2 C4 C5 C8 C10 C11 D8 D9 S7 S8 S10 H2 N15 H5 D11 H9 S9 C9 , meldName: H9 S9 C9 , meld state: SET
pickusefulDiscardsFromSets:
calling getallmysets: C2 C4 C5 C8 C10 C11 D8 D9 S7 S8 S10 H2 N15 H5 D11 H9 S9 C9
getAllMySets :
getAllMySets : C2 C4 C5 C8 C10 C11 D8 D9 S7 S8 S10 H2 N15 H5 D11 H9 S9 C9
sets: 7
set: S10 C10 N15
set: D11 C11 N15
set: H5 C5 N15
set: H9 S9 D9 C9 N15
set: S8 D8 C8 N15
set: H9 S9 D9 C9 N15
set: S8 D8 C8 N15
Calling fetchUsefulDiscardsInSets
card with lowest Discrd index: D11 (Card)
isValidMeldGroup:: D11 C11 N15
getSequences: D11 C11
isValidRankSequenceWithJokers:: D11 C11
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
meld : D11 C11 N15 : SET
card with lowest Discrd index: H5 (Card)
isValidMeldGroup:: H5 C5 N15
getSequences: H5 C5
isValidRankSequenceWithJokers:: H5 C5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
meld : H5 C5 N15 : SET
Final Distinct usefulDiscards + count: 2, cards: D11 H5
Card Selected: D11 (Card) c.mIsDiscardCard: True c.mIsDeckCard: Falseplayer.mIsCardTaken: False Tapable: True cardsInDeck 21
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
is DiscardCard Selected
Discard card count: 2 cardonscreen: 15 player cards count: 13
IsCardSorting
sort count: 14
Target Position: (75.5, 655.0, 0.0)
updatePlayerCardsDisplayTest
Card: D11 (Card) Last DiscardedCard: D11 (Card)
handleSelectedDiscardCard Card: D11 (Card)
Calling checkResult from Line 5682
checkResult meldList != null && meldList.Count: 2
checkResult exiting
removeCardsFromDiscardCards: D11
Card Selected: H2 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 21
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
Selected
checkForPossibleMelds
MeldList Meld: S1 S2 S3 S4 S5
MeldList Meld: H9 S9 C9
Meld: S1 S5 S4 S3 S2 , tempMeld:: S1 S5 S4 S3 H2 S2
isValidMeldGroup:: S1 S5 S4 S3 H2 S2
getSequences: S1 H2 S2 S3 S4 S5
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
isValidRankSequenceWithJokers:: S1 S5 S4 S3 H2 S2
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 8, initialMeldCount: 6, cardCount: 6
meld : H2 S1 S2 S3 S4 S5 : NONE
MeldState of meld: S1 S5 S4 S3 H2 S2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: S1 S2 S3 S4 S5 selectedCards: H2
Meld: H9 S9 C9 , tempMeld:: H9 S9 C9 H2
isValidMeldGroup:: H9 S9 C9 H2
getSequences: H2 H9 S9 C9
isValidRankSequenceWithJokers:: H9 S9 C9 H2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 4, cardCount: 4
meld : H2 H9 S9 C9 : NONE
MeldState of meld: H9 S9 C9 H2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H9 S9 C9 selectedCards: H2
LocalPlayer Meld Count: 0
localMelds Count: 0 selectedCards: H2
localMelds Count: 0 isJokerInHand+ False
discardPlayerCard: 1
localPlayer.mCards.Count: 14
onCardDeselected- discardPlayerCard
Clear duplicate Melds and show local melds, hide highlight meld and delete child objects
Discard Card: card: H2
addToDiscardCardsList discardedCards.Count: 1
addToDiscardCardsList card.discardCardIndex : 1
Calling MoveCard
discardPlayerCard: calling changeTurn
ChangeTurn : 1
Enable hand scroll: False
ChangeTurn
localPlayer mID: 1
In change turn line 2817 mTotalPlayers: 2
NextPlayer: 2
playAiTurn now: 2
disableAllMelds
meldList Count is >0
getSequences: D1 S1 H2 S2 H3 S3 D4 S4 H5 S5 D7 H7 H11 D12 S13 H13
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
getSequences: S1 S2 S3 S4 S5
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
getSequences: H2 H3 H5
getSequences: H11 H13
getSequences: D1 D12
getSequences: H7 D7
I am In getProperMelds: S1 S5 S4 S3 S2
Before Calling is Dissimilar from get ProperMelds: S1 S5 S4 S3 S2 , meld: S1 S5 S4 S3 S2
meld.meldOwnerID: 2, m.OwnerID: -5
melds of same name, continue
getUsefulDiscardCards CARDS:
getUsefulDiscardCards CARDS:
getUsefulCardsFromDiscard: usefulCards:
getSequences: D1 H2 H3 D4 H5 D7 H7 H9 S9 C9 H11 D12 S13 H13
getSequences: H9 S9 C9
getSequences: H2 H3 H5
getSequences: H11 H13
getSequences: D1 D12
getSequences: H7 D7
I am In getProperMelds: H9 S9 C9
Before Calling is Dissimilar from get ProperMelds: H9 S9 C9 , meld: H9 S9 C9
meld.meldOwnerID: 2, m.OwnerID: -5
melds of same name, continue
getUsefulDiscardCards CARDS:
getUsefulDiscardCards CARDS:
getUsefulCardsFromDiscard: usefulCards:
processUsefulCards : discardedCards.Count:: 2
usefulDiscardCards at this point:
MeldList count: 2
enableHighlightOfCards
onGetDeckCard - AI #################################################
calling checkresult from delayCardAdditionToMeld
checkResult meldList != null && meldList.Count: 2
checkResult exiting
updatePlayerCardsDisplayTest
sort count: 10
getSequences: D1 H3 D4 D7 H7 S11 H11 D12 S13 H13
getSequences: H11 H13
getSequences: S11 S13
getSequences: D1 D12
getSequences: H7 D7
Discard Ai Card - Delay: 0.9
showOrDiscardAI discardAI: 2
discardAI routine in RummyGameMgr
Calling checkResult from discardAI
AI getAiDiscardCard
getDiscardCard
getSequences: D1 H3 D4 D7 H7 S11 H11 D12 S13 H13
getDiscardCard: D4, 0
Discard Card: D4 (Card) isJoker: False
RummyGameMgr class discardAiCard
discardAiCard: 2, card: D4
updatePlayerCardsDisplayTest
sort count: 9
Discard Card: card: D4
addToDiscardCardsList discardedCards.Count: 2
addToDiscardCardsList card.discardCardIndex : 3
Calling MoveCard
discardAiCard: 2, card: D4
discardAiCard: calling changeTurn: 2
ChangeTurn : 2
ChangeTurn
localPlayer mID: 1
In change turn line 2817 mTotalPlayers: 2
ID != localPlayer.mID : 2 , localPlayer.mID: 1, so waiting
NextPlayer: 1
showUsefulCardsOnDiscardPile
discardedCards.Count > 0
Calling method fetchAllUsefulDiscards: 2
fetchAllUsefulDiscards :
fetchAllUsefulDiscards discardedCards: H5 H2 D4
fetchAllUsefulDiscards without any other cards:
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4 , meldName: NoMeld, meld state: NONE
pickUsefulDiscardsFromSequences: meld: NO MELD
getAllMySequences : C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4
getSequences: C2 H2 C4 D4 C5 H5 S7 C8 D8 S8 D9 C10 S10 C11 D11 N15
getAllMySequences returned with seqs: 4
pickUsefulDiscardsFromSequences: goAhead: True,ogSeqs.Count: 0
pickUsefulDiscardsFromSequences in the LOOP: D11 D9 D8 N15
1st fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
1st fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
1st fetchUsefulDiscardsInSequences: seq: C11 C10 N15
1st fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
fetchUsefulDiscardsInSequences: seq: C11 C10 N15
fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
pickUsefulDiscardsFromSequences in the LOOP: S10 S8 S7 N15
1st fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
1st fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
1st fetchUsefulDiscardsInSequences: seq: C11 C10 N15
1st fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
fetchUsefulDiscardsInSequences: seq: C11 C10 N15
fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
pickUsefulDiscardsFromSequences in the LOOP: C11 C10 N15
1st fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
1st fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
1st fetchUsefulDiscardsInSequences: seq: C11 C10 N15
1st fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
fetchUsefulDiscardsInSequences: seq: C11 C10 N15
fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
pickUsefulDiscardsFromSequences in the LOOP: C5 C4 C2 N15
1st fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
1st fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
1st fetchUsefulDiscardsInSequences: seq: C11 C10 N15
1st fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
fetchUsefulDiscardsInSequences: seq: C11 C10 N15
fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
pickUsefulDiscardsFromHandAndDiscards: 3
getAllHalfSequences: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4
halfSeq: C5 C4 C2
isValidRankSequenceWithJokers:: C2 C4 C5
card: C5, nextCard: C4
card: C4, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C5 C4 C2
isValidRankSequenceWithJokers:: C2 C4 C5
card: C5, nextCard: C4
card: C4, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C5 C4
isValidRankSequenceWithJokers:: C4 C5
card: C5, nextCard: C4
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: C11 C10 C8
isValidRankSequenceWithJokers:: C8 C10 C11
card: C11, nextCard: C10
card: C10, nextCard: C8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C11 C10 C8
isValidRankSequenceWithJokers:: C8 C10 C11
card: C11, nextCard: C10
card: C10, nextCard: C8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C11 C10
isValidRankSequenceWithJokers:: C10 C11
card: C11, nextCard: C10
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: D11 D9
isValidRankSequenceWithJokers:: D9 D11
card: D11, nextCard: D9
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8
isValidRankSequenceWithJokers:: S8 S10
card: S10, nextCard: S8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
returned from pickResidualUsefulDiscardsFromSequences:
pickusefulDiscardsFromSets:
calling getallmysets: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4
getAllMySets :
getAllMySets : C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4
sets: 6
set: S10 C10 N15
set: D11 C11 N15
set: H5 C5 N15
set: H2 C2 N15
set: S8 D8 C8 N15
set: S8 D8 C8 N15
Calling fetchUsefulDiscardsInSets
card with lowest Discrd index: H5 (Card)
isValidMeldGroup:: H5 C5 N15
getSequences: H5 C5
isValidRankSequenceWithJokers:: H5 C5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
meld : H5 C5 N15 : SET
card with lowest Discrd index: H2 (Card)
isValidMeldGroup:: H2 C2 N15
getSequences: H2 C2
isValidRankSequenceWithJokers:: H2 C2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
meld : H2 C2 N15 : SET
fetchAllUsefulDiscards meld Count: 2
isValidMeldGroup:: S1 S5 S4 S3 S2
meld : S1 S2 S3 S4 S5 : SEQUENCE
meld: S1 S5 S4 S3 S2 , meldState: ms: SEQUENCE
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: S1 S5 S4 S3 S2
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4 S1 S2 S3 S4 S5 , meldName: S1 S2 S3 S4 S5 , meld state: SEQUENCE
pickUsefulDiscardsFromSequences: meld: S1 S5 S4 S3 S2
getAllMySequences : C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4 S1 S2 S3 S4 S5
m from pure seqs: S5 S4 S3 S2
getSequences: S1 C2 S2 H2 S3 C4 D4 S4 H5 S5 C5 S7 D8 C8 S8 D9 S10 C10 D11 C11 N15
m from seqMelds: S1 S5 S4 S3 S2
optimizeSequenceMelds
getAllMySequences returned with seqs: 6
pickUsefulDiscardsFromSequences: goAhead: False,ogSeqs.Count: 1
Calling pickResidualUsefulDiscardsFromSequences
pickResidualUsefulDiscardsFromSequences: 1
Seq cards: S1 S2 S3 S4 S5
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S1
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S1
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 7, cardCount: 7
Calling isValidRankSequenceWithJokers : plrCards: S1 S1 S2 S3 S4 S5 S2
isValidRankSequenceWithJokers:: S1 S1 S2 S3 S4 S5 S2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 8, cardCount: 8
Calling isValidRankSequenceWithJokers : plrCards: S1 S1 S2 S2 S3 S4 S5 S4
isValidRankSequenceWithJokers:: S1 S1 S2 S2 S3 S4 S5 S4
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 9, cardCount: 9
Calling isValidRankSequenceWithJokers : plrCards: S1 S1 S2 S2 S3 S4 S4 S5 S5
isValidRankSequenceWithJokers:: S1 S1 S2 S2 S3 S4 S4 S5 S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 10, cardCount: 10
Calling isValidRankSequenceWithJokers : plrCards: S1 S1 S2 S2 S3 S4 S4 S5 S5 S3
isValidRankSequenceWithJokers:: S1 S1 S2 S2 S3 S4 S4 S5 S5 S3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 11, cardCount: 11
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S2
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 7, cardCount: 7
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S2 S3 S4 S5 S4
isValidRankSequenceWithJokers:: S1 S2 S2 S3 S4 S5 S4
card: S1, nextCard: S5
card: S5, nextCard: S4
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 8, cardCount: 8
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S2 S3 S4 S4 S5 S5
isValidRankSequenceWithJokers:: S1 S2 S2 S3 S4 S4 S5 S5
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 9, cardCount: 9
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S2 S3 S4 S4 S5 S5 S3
isValidRankSequenceWithJokers:: S1 S2 S2 S3 S4 S4 S5 S5 S3
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 10, cardCount: 10
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S4
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S4
card: S1, nextCard: S5
card: S5, nextCard: S4
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 7, cardCount: 7
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S4 S5 S5
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S4 S5 S5
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 8, cardCount: 8
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S4 S5 S5 S3
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S4 S5 S5 S3
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 9, cardCount: 9
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S5
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S5
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 7, cardCount: 7
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S5 S3
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S5 S3
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 8, cardCount: 8
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S3
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S3
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 7, cardCount: 7
Cards List:
pickUsefulDiscardsFromHandAndDiscards: 8
getAllHalfSequences: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4 S1 S2 S3 S4 S5
halfSeq: C5 C4 C2
isValidRankSequenceWithJokers:: C2 C4 C5
card: C5, nextCard: C4
card: C4, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C5 C4 C2
isValidRankSequenceWithJokers:: C2 C4 C5
card: C5, nextCard: C4
card: C4, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C5 C4
isValidRankSequenceWithJokers:: C4 C5
card: C5, nextCard: C4
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: C11 C10 C8
isValidRankSequenceWithJokers:: C8 C10 C11
card: C11, nextCard: C10
card: C10, nextCard: C8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C11 C10 C8
isValidRankSequenceWithJokers:: C8 C10 C11
card: C11, nextCard: C10
card: C10, nextCard: C8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C11 C10
isValidRankSequenceWithJokers:: C10 C11
card: C11, nextCard: C10
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: D11 D9
isValidRankSequenceWithJokers:: D9 D11
card: D11, nextCard: D9
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8
isValidRankSequenceWithJokers:: S8 S10
card: S10, nextCard: S8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: S1 S5 S4 S3 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 6, cardCount: 6
obtainUsefulDiscards:: 6
obtainUsefulCards returned:
halfSeq: S1 S5 S4 S3 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 6, cardCount: 6
obtainUsefulDiscards:: 6
obtainUsefulCards returned:
halfSeq: S1 S5 S4 S3 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 6, cardCount: 6
obtainUsefulDiscards:: 6
obtainUsefulCards returned:
halfSeq: S5 S4 S3 S2
isValidRankSequenceWithJokers:: S2 S3 S4 S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 5, cardCount: 5
obtainUsefulDiscards:: 5
obtainUsefulCards returned:
halfSeq: S8 S7 S5
isValidRankSequenceWithJokers:: S5 S7 S8
card: S8, nextCard: S7
card: S7, nextCard: S5
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
returned from pickResidualUsefulDiscardsFromSequences:
isValidMeldGroup:: H9 S9 C9
getSequences: H9 S9 C9
isValidRankSequenceWithJokers:: H9 S9 C9
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 3, cardCount: 3
meld : H9 S9 C9 : SET
meld: H9 S9 C9 , meldState: ms: SET
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: H9 S9 C9
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4 H9 S9 C9 , meldName: H9 S9 C9 , meld state: SET
pickusefulDiscardsFromSets:
calling getallmysets: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4 H9 S9 C9
getAllMySets :
getAllMySets : C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 H2 D4 H9 S9 C9
sets: 8
set: S10 C10 N15
set: D11 C11 N15
set: D4 C4 N15
set: H2 C2 N15
set: H9 S9 D9 C9 N15
set: S8 D8 C8 N15
set: H9 S9 D9 C9 N15
set: S8 D8 C8 N15
Calling fetchUsefulDiscardsInSets
card with lowest Discrd index: D4 (Card)
isValidMeldGroup:: D4 C4 N15
getSequences: D4 C4
isValidRankSequenceWithJokers:: D4 C4
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
meld : D4 C4 N15 : SET
card with lowest Discrd index: H2 (Card)
isValidMeldGroup:: H2 C2 N15
getSequences: H2 C2
isValidRankSequenceWithJokers:: H2 C2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
meld : H2 C2 N15 : SET
Final Distinct usefulDiscards + count: 3, cards: H5 H2 D4
Card Selected: H1 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Trueplayer.mIsCardTaken: False Tapable: True cardsInDeck 20
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
deckCard : H1
IsCardSorting
sort count: 14
Target Position: (-105.5, 649.8, 0.0)
updatePlayerCardsDisplayTest
cardonscreen: 15 player cards count: 14
Card Selected: H1 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 19
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
Selected
checkForPossibleMelds
MeldList Meld: S1 S2 S3 S4 S5
MeldList Meld: H9 S9 C9
Meld: S1 S5 S4 S3 S2 , tempMeld:: H1 S1 S5 S4 S3 S2
isValidMeldGroup:: H1 S1 S5 S4 S3 S2
getSequences: H1 S1 S2 S3 S4 S5
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
isValidRankSequenceWithJokers:: H1 S1 S5 S4 S3 S2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 6, cardCount: 6
meld : H1 S1 S2 S3 S4 S5 : NONE
MeldState of meld: H1 S1 S5 S4 S3 S2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: S1 S2 S3 S4 S5 selectedCards: H1
Meld: H9 S9 C9 , tempMeld:: H1 H9 S9 C9
isValidMeldGroup:: H1 H9 S9 C9
getSequences: H1 H9 S9 C9
isValidRankSequenceWithJokers:: H1 H9 S9 C9
card: H1, nextCard: H9
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 4, initialMeldCount: 4, cardCount: 4
meld : H1 H9 S9 C9 : NONE
MeldState of meld: H1 H9 S9 C9 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H9 S9 C9 selectedCards: H1
LocalPlayer Meld Count: 0
localMelds Count: 0 selectedCards: H1
localMelds Count: 0 isJokerInHand+ False
discardPlayerCard: 1
localPlayer.mCards.Count: 14
onCardDeselected- discardPlayerCard
Clear duplicate Melds and show local melds, hide highlight meld and delete child objects
Discard Card: card: H1
addToDiscardCardsList discardedCards.Count: 3
addToDiscardCardsList card.discardCardIndex : 4
Calling MoveCard
discardPlayerCard: calling changeTurn
ChangeTurn : 1
Enable hand scroll: False
ChangeTurn
localPlayer mID: 1
In change turn line 2817 mTotalPlayers: 2
NextPlayer: 2
playAiTurn now: 2
disableAllMelds
meldList Count is >0
getSequences: H1 D1 S1 H2 S2 S3 H3 D4 S4 H5 S5 D7 H7 H11 S11 D12 H13 S13
Rummy: S5 S4 S3 S2
sequences: H1 H3 H2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: H1 H2 H3
getAllSequences:: meld: S1 S2 S3 S4 S5
getSequences: H1 H2 H3
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
getSequences: S1 S2 S3 S4 S5
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
getSequences: H5 H7
getSequences: H11 H13
getSequences: D1 D12
I am In getProperMelds: H1 H3 H2
Before Calling is Dissimilar from get ProperMelds: H1 H3 H2 , meld: S1 S5 S4 S3 S2
meld.meldOwnerID: 2, m.OwnerID: -5
getProperMelds Meld: H1 H2 H3
mdList m.getCardCount(): 3 jokerCount: 0
I am In getProperMelds: S1 S5 S4 S3 S2
Before Calling is Dissimilar from get ProperMelds: S1 S5 S4 S3 S2 , meld: S1 S5 S4 S3 S2
meld.meldOwnerID: 2, m.OwnerID: -5
melds of same name, continue
getUsefulDiscardCards - Meld: H1 H2 H3
getUsefulDiscardCards CARDS: H2 H1
getUsefulDiscardCards - Meld: H1 H2 H3
getUsefulDiscardCards CARDS: H2 H1
getUsefulCardsFromDiscard: usefulCards: H2 H1
getSequences: H1 D1 H2 H3 D4 H5 D7 H7 H9 S9 C9 S11 H11 D12 S13 H13
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
getSequences: H1 H2 H3
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
getSequences: H9 S9 C9
getSequences: H5 H7
getSequences: H11 H13
getSequences: D1 D12
I am In getProperMelds: H1 H3 H2
Before Calling is Dissimilar from get ProperMelds: H1 H3 H2 , meld: H9 S9 C9
meld.meldOwnerID: 2, m.OwnerID: -5
getProperMelds Meld: H1 H2 H3
mdList m.getCardCount(): 3 jokerCount: 0
I am In getProperMelds: H9 S9 C9
Before Calling is Dissimilar from get ProperMelds: H9 S9 C9 , meld: H9 S9 C9
meld.meldOwnerID: 2, m.OwnerID: -5
melds of same name, continue
getUsefulDiscardCards - Meld: H1 H2 H3
getUsefulDiscardCards CARDS: H2 H1
getUsefulDiscardCards - Meld: H1 H2 H3
getUsefulDiscardCards CARDS: H2 H1
getUsefulCardsFromDiscard: usefulCards: H2 H1
Possible melds: H1 H3 H2
processUsefulCards : discardedCards.Count:: 4
possbleMeld[j]: H1 H3 H2
MeldCards: H1 H2 H3
c: H1, ismleded: False, c: mIsDiscardCard: True
c: H2, ismleded: False, c: mIsDiscardCard: True
c: H3, ismleded: False, c: mIsDiscardCard: False
possbleMeld[j]: H1 H3 H2
MeldCards: H1 H2 H3
c: H1, ismleded: False, c: mIsDiscardCard: True
c: H2, ismleded: False, c: mIsDiscardCard: True
c: H3, ismleded: False, c: mIsDiscardCard: False
possbleMeld[j]: H1 H3 H2
MeldCards: H1 H2 H3
c: H1, ismleded: False, c: mIsDiscardCard: True
c: H2, ismleded: False, c: mIsDiscardCard: True
c: H3, ismleded: False, c: mIsDiscardCard: False
possbleMeld[j]: H1 H3 H2
MeldCards: H1 H2 H3
c: H1, ismleded: False, c: mIsDiscardCard: True
c: H2, ismleded: False, c: mIsDiscardCard: True
c: H3, ismleded: False, c: mIsDiscardCard: False
usefulDiscardCards at this point: H2 H1 H2 H1
MeldList count: 2
enableHighlightOfCards
possible Meld: H1 H2 H3
isMeldScoring: True
Discard card count: 4 cardonscreen: 15 player cards count: 9
IsCardSorting
updatePlayerCardsDisplayTest
sort count: 10
IsCardSorting
updatePlayerCardsDisplayTest
sort count: 11
IsCardSorting
updatePlayerCardsDisplayTest
sort count: 12
Delay Possible Melds
calling checkresult from delayCardAdditionToMeld
removeCardsFromDiscardCards: H2 D4 H1
checkResult meldList != null && meldList.Count: 2
checkResult exiting
assignValueForJokerCard: PossibleMeld: H1 H3 H2
getSequences: H1 H2 H3
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
Possible melds in Player Cards: H1 (Card)
Possible melds in Player Cards: H2 (Card)
Possible melds in Player Cards: H3 (Card)
Time: 0CardsCount: 3 possible Meld Cards count: 3 Meld: H1 H2 H3
Create Meld for player
Player ID of Card: 2
updatePlayerCardsDisplayTest
sort count: 11
Player ID of Card: 2
updatePlayerCardsDisplayTest
sort count: 10
Player ID of Card: 2
updatePlayerCardsDisplayTest
sort count: 9
UpdateMeldPoints: 2
updateMeldPoints: Total Score of Player: 2 is : 76
compriseCardDistanceOfMeldForOtherPlayers: H1 H2 H3
Discard Ai Card - Delay: 1.4
showOrDiscardAI discardAI: 2
discardAI routine in RummyGameMgr
Calling checkResult from discardAI
AI getAiDiscardCard
getDiscardCard
getSequences: D1 D4 D7 H7 S11 H11 D12 S13 H13
getDiscardCard: D4, 0
Discard Card: D4 (Card) isJoker: False
RummyGameMgr class discardAiCard
discardAiCard: 2, card: D4
updatePlayerCardsDisplayTest
sort count: 8
Discard Card: card: D4
addToDiscardCardsList discardedCards.Count: 1
addToDiscardCardsList card.discardCardIndex : 1
Calling MoveCard
discardAiCard: 2, card: D4
discardAiCard: calling changeTurn: 2
ChangeTurn : 2
ChangeTurn
localPlayer mID: 1
In change turn line 2817 mTotalPlayers: 2
ID != localPlayer.mID : 2 , localPlayer.mID: 1, so waiting
NextPlayer: 1
showUsefulCardsOnDiscardPile
discardedCards.Count > 0
Calling method fetchAllUsefulDiscards: 3
fetchAllUsefulDiscards :
fetchAllUsefulDiscards discardedCards: H5 D4
fetchAllUsefulDiscards without any other cards:
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4 , meldName: NoMeld, meld state: NONE
pickUsefulDiscardsFromSequences: meld: NO MELD
getAllMySequences : C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4
getSequences: C2 C4 D4 C5 H5 S7 C8 D8 S8 D9 C10 S10 C11 D11 N15
getAllMySequences returned with seqs: 4
pickUsefulDiscardsFromSequences: goAhead: True,ogSeqs.Count: 0
pickUsefulDiscardsFromSequences in the LOOP: D11 D9 D8 N15
1st fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
1st fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
1st fetchUsefulDiscardsInSequences: seq: C11 C10 N15
1st fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
fetchUsefulDiscardsInSequences: seq: C11 C10 N15
fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
pickUsefulDiscardsFromSequences in the LOOP: S10 S8 S7 N15
1st fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
1st fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
1st fetchUsefulDiscardsInSequences: seq: C11 C10 N15
1st fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
fetchUsefulDiscardsInSequences: seq: C11 C10 N15
fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
pickUsefulDiscardsFromSequences in the LOOP: C11 C10 N15
1st fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
1st fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
1st fetchUsefulDiscardsInSequences: seq: C11 C10 N15
1st fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
fetchUsefulDiscardsInSequences: seq: C11 C10 N15
fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
pickUsefulDiscardsFromSequences in the LOOP: C5 C4 C2 N15
1st fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
1st fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
1st fetchUsefulDiscardsInSequences: seq: C11 C10 N15
1st fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
fetchUsefulDiscardsInSequences: seq: D11 D9 D8 N15
fetchUsefulDiscardsInSequences: seq: S10 S8 S7 N15
fetchUsefulDiscardsInSequences: seq: C11 C10 N15
fetchUsefulDiscardsInSequences: seq: C5 C4 C2 N15
pickUsefulDiscardsFromHandAndDiscards: 2
getAllHalfSequences: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4
halfSeq: C5 C4 C2
isValidRankSequenceWithJokers:: C2 C4 C5
card: C5, nextCard: C4
card: C4, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C5 C4 C2
isValidRankSequenceWithJokers:: C2 C4 C5
card: C5, nextCard: C4
card: C4, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C5 C4
isValidRankSequenceWithJokers:: C4 C5
card: C5, nextCard: C4
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: C11 C10 C8
isValidRankSequenceWithJokers:: C8 C10 C11
card: C11, nextCard: C10
card: C10, nextCard: C8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C11 C10 C8
isValidRankSequenceWithJokers:: C8 C10 C11
card: C11, nextCard: C10
card: C10, nextCard: C8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C11 C10
isValidRankSequenceWithJokers:: C10 C11
card: C11, nextCard: C10
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: D11 D9
isValidRankSequenceWithJokers:: D9 D11
card: D11, nextCard: D9
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8
isValidRankSequenceWithJokers:: S8 S10
card: S10, nextCard: S8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
returned from pickResidualUsefulDiscardsFromSequences:
pickusefulDiscardsFromSets:
calling getallmysets: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4
getAllMySets :
getAllMySets : C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4
sets: 6
set: S10 C10 N15
set: D11 C11 N15
set: H5 C5 N15
set: D4 C4 N15
set: S8 D8 C8 N15
set: S8 D8 C8 N15
Calling fetchUsefulDiscardsInSets
card with lowest Discrd index: H5 (Card)
isValidMeldGroup:: H5 C5 N15
getSequences: H5 C5
isValidRankSequenceWithJokers:: H5 C5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
meld : H5 C5 N15 : SET
card with lowest Discrd index: D4 (Card)
isValidMeldGroup:: D4 C4 N15
getSequences: D4 C4
isValidRankSequenceWithJokers:: D4 C4
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
meld : D4 C4 N15 : SET
fetchAllUsefulDiscards meld Count: 3
isValidMeldGroup:: S1 S5 S4 S3 S2
meld : S1 S2 S3 S4 S5 : SEQUENCE
meld: S1 S5 S4 S3 S2 , meldState: ms: SEQUENCE
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: S1 S5 S4 S3 S2
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4 S1 S2 S3 S4 S5 , meldName: S1 S2 S3 S4 S5 , meld state: SEQUENCE
pickUsefulDiscardsFromSequences: meld: S1 S5 S4 S3 S2
getAllMySequences : C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4 S1 S2 S3 S4 S5
m from pure seqs: S5 S4 S3 S2
getSequences: S1 C2 S2 S3 C4 D4 S4 H5 S5 C5 S7 S8 D8 C8 D9 S10 C10 C11 D11 N15
m from seqMelds: S1 S5 S4 S3 S2
optimizeSequenceMelds
getAllMySequences returned with seqs: 6
pickUsefulDiscardsFromSequences: goAhead: False,ogSeqs.Count: 1
Calling pickResidualUsefulDiscardsFromSequences
pickResidualUsefulDiscardsFromSequences: 1
Seq cards: S1 S2 S3 S4 S5
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S1
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S1
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 7, cardCount: 7
Calling isValidRankSequenceWithJokers : plrCards: S1 S1 S2 S3 S4 S5 S2
isValidRankSequenceWithJokers:: S1 S1 S2 S3 S4 S5 S2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 8, cardCount: 8
Calling isValidRankSequenceWithJokers : plrCards: S1 S1 S2 S2 S3 S4 S5 S4
isValidRankSequenceWithJokers:: S1 S1 S2 S2 S3 S4 S5 S4
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 9, cardCount: 9
Calling isValidRankSequenceWithJokers : plrCards: S1 S1 S2 S2 S3 S4 S4 S5 S5
isValidRankSequenceWithJokers:: S1 S1 S2 S2 S3 S4 S4 S5 S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 10, cardCount: 10
Calling isValidRankSequenceWithJokers : plrCards: S1 S1 S2 S2 S3 S4 S4 S5 S5 S3
isValidRankSequenceWithJokers:: S1 S1 S2 S2 S3 S4 S4 S5 S5 S3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 11, cardCount: 11
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S2
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 7, cardCount: 7
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S2 S3 S4 S5 S4
isValidRankSequenceWithJokers:: S1 S2 S2 S3 S4 S5 S4
card: S1, nextCard: S5
card: S5, nextCard: S4
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 8, cardCount: 8
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S2 S3 S4 S4 S5 S5
isValidRankSequenceWithJokers:: S1 S2 S2 S3 S4 S4 S5 S5
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 9, cardCount: 9
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S2 S3 S4 S4 S5 S5 S3
isValidRankSequenceWithJokers:: S1 S2 S2 S3 S4 S4 S5 S5 S3
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 10, cardCount: 10
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S4
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S4
card: S1, nextCard: S5
card: S5, nextCard: S4
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 7, cardCount: 7
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S4 S5 S5
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S4 S5 S5
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 8, cardCount: 8
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S4 S5 S5 S3
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S4 S5 S5 S3
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 9, cardCount: 9
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S5
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S5
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 7, cardCount: 7
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S5 S3
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S5 S3
card: S1, nextCard: S5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 8, cardCount: 8
Calling isValidRankSequenceWithJokers : plrCards: S1 S2 S3 S4 S5 S3
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5 S3
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 7, cardCount: 7
Cards List:
pickUsefulDiscardsFromHandAndDiscards: 7
getAllHalfSequences: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4 S1 S2 S3 S4 S5
halfSeq: C5 C4 C2
isValidRankSequenceWithJokers:: C2 C4 C5
card: C5, nextCard: C4
card: C4, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C5 C4 C2
isValidRankSequenceWithJokers:: C2 C4 C5
card: C5, nextCard: C4
card: C4, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C5 C4
isValidRankSequenceWithJokers:: C4 C5
card: C5, nextCard: C4
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: C11 C10 C8
isValidRankSequenceWithJokers:: C8 C10 C11
card: C11, nextCard: C10
card: C10, nextCard: C8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C11 C10 C8
isValidRankSequenceWithJokers:: C8 C10 C11
card: C11, nextCard: C10
card: C10, nextCard: C8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C11 C10
isValidRankSequenceWithJokers:: C10 C11
card: C11, nextCard: C10
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: D11 D9
isValidRankSequenceWithJokers:: D9 D11
card: D11, nextCard: D9
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8
isValidRankSequenceWithJokers:: S8 S10
card: S10, nextCard: S8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: S1 S5 S4 S3 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 6, cardCount: 6
obtainUsefulDiscards:: 6
obtainUsefulCards returned:
halfSeq: S1 S5 S4 S3 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 6, cardCount: 6
obtainUsefulDiscards:: 6
obtainUsefulCards returned:
halfSeq: S1 S5 S4 S3 S2
isValidRankSequenceWithJokers:: S1 S2 S3 S4 S5
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 6, cardCount: 6
obtainUsefulDiscards:: 6
obtainUsefulCards returned:
halfSeq: S5 S4 S3 S2
isValidRankSequenceWithJokers:: S2 S3 S4 S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 5, cardCount: 5
obtainUsefulDiscards:: 5
obtainUsefulCards returned:
halfSeq: S8 S7 S5
isValidRankSequenceWithJokers:: S5 S7 S8
card: S8, nextCard: S7
card: S7, nextCard: S5
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
returned from pickResidualUsefulDiscardsFromSequences:
isValidMeldGroup:: H9 S9 C9
getSequences: H9 S9 C9
isValidRankSequenceWithJokers:: H9 S9 C9
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 3, cardCount: 3
meld : H9 S9 C9 : SET
meld: H9 S9 C9 , meldState: ms: SET
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: H9 S9 C9
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4 H9 S9 C9 , meldName: H9 S9 C9 , meld state: SET
pickusefulDiscardsFromSets:
calling getallmysets: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4 H9 S9 C9
getAllMySets :
getAllMySets : C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4 H9 S9 C9
sets: 7
set: S10 C10 N15
set: H5 C5 N15
set: D4 C4 N15
set: H9 S9 D9 C9 N15
set: S8 D8 C8 N15
set: H9 S9 D9 C9 N15
set: S8 D8 C8 N15
Calling fetchUsefulDiscardsInSets
card with lowest Discrd index: H5 (Card)
isValidMeldGroup:: H5 C5 N15
getSequences: H5 C5
isValidRankSequenceWithJokers:: H5 C5
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
meld : H5 C5 N15 : SET
card with lowest Discrd index: D4 (Card)
isValidMeldGroup:: D4 C4 N15
getSequences: D4 C4
isValidRankSequenceWithJokers:: D4 C4
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
meld : D4 C4 N15 : SET
isValidMeldGroup:: H1 H3 H2
meld : H1 H2 H3 : SEQUENCE
meld: H1 H3 H2 , meldState: ms: SEQUENCE
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: H1 H3 H2
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4 H1 H2 H3 , meldName: H1 H2 H3 , meld state: SEQUENCE
pickUsefulDiscardsFromSequences: meld: H1 H3 H2
getAllMySequences : C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4 H1 H2 H3
getSequences: H1 C2 H2 H3 D4 C4 C5 H5 S7 D8 S8 C8 D9 C10 S10 C11 D11 N15
m from seqMelds: H1 H3 H2
optimizeSequenceMelds
getAllMySequences returned with seqs: 5
pickUsefulDiscardsFromSequences: goAhead: False,ogSeqs.Count: 1
Calling pickResidualUsefulDiscardsFromSequences
pickResidualUsefulDiscardsFromSequences: 1
Seq cards: H1 H2 H3
Calling isValidRankSequenceWithJokers : plrCards: H1 H2 H3 H5
isValidRankSequenceWithJokers:: H1 H2 H3 H5
card: H1, nextCard: H5
card: H5, nextCard: H3
card: H3, nextCard: H2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 9, initialMeldCount: 5, cardCount: 5
pickResidualUsefulDiscardsFromSequences: discardCards.Count: 1
card with lowest Discrd index: H5 (Card)
isValidMeldGroup:: H1 H5 H3 H2
getSequences: H1 H2 H3 H5
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
isValidRankSequenceWithJokers:: H1 H5 H3 H2
card: H1, nextCard: H5
card: H5, nextCard: H3
card: H3, nextCard: H2
isValidRankSequenceWithJokers jokers.Count: 0, difference: 9, initialMeldCount: 4, cardCount: 4
meld : H1 H2 H3 H5 : NONE
Calling isValidRankSequenceWithJokers : plrCards: H1 H2 H3 H5 H3
isValidRankSequenceWithJokers:: H1 H2 H3 H5 H3
card: H1, nextCard: H5
card: H5, nextCard: H3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 9, initialMeldCount: 6, cardCount: 6
Calling isValidRankSequenceWithJokers : plrCards: H1 H2 H3 H3 H5 H2
isValidRankSequenceWithJokers:: H1 H2 H3 H3 H5 H2
card: H1, nextCard: H5
card: H5, nextCard: H3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 9, initialMeldCount: 7, cardCount: 7
Calling isValidRankSequenceWithJokers : plrCards: H1 H2 H2 H3 H3 H5 H1
isValidRankSequenceWithJokers:: H1 H2 H2 H3 H3 H5 H1
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 8, cardCount: 8
Calling isValidRankSequenceWithJokers : plrCards: H1 H2 H3 H3
isValidRankSequenceWithJokers:: H1 H2 H3 H3
card: H1, nextCard: H3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 10, initialMeldCount: 5, cardCount: 5
Calling isValidRankSequenceWithJokers : plrCards: H1 H2 H3 H3 H2
isValidRankSequenceWithJokers:: H1 H2 H3 H3 H2
card: H1, nextCard: H3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 10, initialMeldCount: 6, cardCount: 6
Calling isValidRankSequenceWithJokers : plrCards: H1 H2 H2 H3 H3 H1
isValidRankSequenceWithJokers:: H1 H2 H2 H3 H3 H1
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 7, cardCount: 7
Calling isValidRankSequenceWithJokers : plrCards: H1 H2 H3 H2
isValidRankSequenceWithJokers:: H1 H2 H3 H2
card: H1, nextCard: H3
card: H3, nextCard: H2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 10, initialMeldCount: 5, cardCount: 5
Calling isValidRankSequenceWithJokers : plrCards: H1 H2 H2 H3 H1
isValidRankSequenceWithJokers:: H1 H2 H2 H3 H1
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 6, cardCount: 6
Calling isValidRankSequenceWithJokers : plrCards: H1 H2 H3 H1
isValidRankSequenceWithJokers:: H1 H2 H3 H1
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 5, cardCount: 5
Cards List:
pickUsefulDiscardsFromHandAndDiscards: 5
getAllHalfSequences: C2 C4 C5 C8 C10 C11 D8 D9 D11 S7 S8 S10 N15 H5 D4 H1 H2 H3
halfSeq: C5 C4 C2
isValidRankSequenceWithJokers:: C2 C4 C5
card: C5, nextCard: C4
card: C4, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C5 C4 C2
isValidRankSequenceWithJokers:: C2 C4 C5
card: C5, nextCard: C4
card: C4, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C5 C4
isValidRankSequenceWithJokers:: C4 C5
card: C5, nextCard: C4
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: C11 C10 C8
isValidRankSequenceWithJokers:: C8 C10 C11
card: C11, nextCard: C10
card: C10, nextCard: C8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C11 C10 C8
isValidRankSequenceWithJokers:: C8 C10 C11
card: C11, nextCard: C10
card: C10, nextCard: C8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: C11 C10
isValidRankSequenceWithJokers:: C10 C11
card: C11, nextCard: C10
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: D11 D9 D8
isValidRankSequenceWithJokers:: D8 D9 D11
card: D11, nextCard: D9
card: D9, nextCard: D8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: D11 D9
isValidRankSequenceWithJokers:: D9 D11
card: D11, nextCard: D9
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8 S7
isValidRankSequenceWithJokers:: S7 S8 S10
card: S10, nextCard: S8
card: S8, nextCard: S7
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: S10 S8
isValidRankSequenceWithJokers:: S8 S10
card: S10, nextCard: S8
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulCards returned:
halfSeq: H5 H3
isValidRankSequenceWithJokers:: H3 H5
card: H5, nextCard: H3
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulDiscards: discardCards.Count: 1
isValidMeldGroup:: H5 H3 N15
getSequences: H3 H5
isValidRankSequenceWithJokers:: H5 H3
card: H5, nextCard: H3
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
meld : H3 H5 N15 : SEQUENCE
card with lowest Discrd index: H5 (Card)
its a sequence and c is : H5
adding: H5 to usefulcards list
obtainUsefulCards returned: H5
halfSeq: H1 H3 H2
isValidRankSequenceWithJokers:: H1 H2 H3
card: H1, nextCard: H3
card: H3, nextCard: H2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 10, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: H1 H3 H2
isValidRankSequenceWithJokers:: H1 H2 H3
card: H1, nextCard: H3
card: H3, nextCard: H2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 10, initialMeldCount: 4, cardCount: 4
obtainUsefulDiscards:: 4
obtainUsefulCards returned:
halfSeq: H5 H3
isValidRankSequenceWithJokers:: H3 H5
card: H5, nextCard: H3
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
obtainUsefulDiscards:: 3
obtainUsefulDiscards: discardCards.Count: 1
isValidMeldGroup:: H5 H3 N15
getSequences: H3 H5
isValidRankSequenceWithJokers:: H5 H3
card: H5, nextCard: H3
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 3, cardCount: 3
meld : H3 H5 N15 : SEQUENCE
card with lowest Discrd index: H5 (Card)
its a sequence and c is : H5
adding: H5 to usefulcards list
obtainUsefulCards returned: H5
returned from pickResidualUsefulDiscardsFromSequences: H5 H5
Final Distinct usefulDiscards + count: 2, cards: H5 D4
Card Selected: C13 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Trueplayer.mIsCardTaken: False Tapable: True cardsInDeck 19
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
deckCard : C13
IsCardSorting
sort count: 14
Target Position: (-105.5, 649.8, 0.0)
updatePlayerCardsDisplayTest
cardonscreen: 15 player cards count: 14
Card Selected: N15 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
Selected
checkForPossibleMelds
MeldList Meld: S1 S2 S3 S4 S5
MeldList Meld: H9 S9 C9
MeldList Meld: H1 H2 H3
Meld: S1 S5 S4 S3 S2 , tempMeld:: S1 S5 S4 S3 S2 N15
isValidMeldGroup:: S1 S5 S4 S3 S2 N15
getSequences: S1 S2 S3 S4 S5
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
isValidRankSequenceWithJokers:: S1 S5 S4 S3 S2
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 8, initialMeldCount: 6, cardCount: 6
meld : N15 S1 S2 S3 S4 S5 : SEQUENCE
MeldState of meld: S1 S5 S4 S3 S2 N15 is: SEQUENCE, isMeld(before calling getMeldState): False
Meldable!! meld: S1 S2 S3 S4 S5 Meld Owner ID: 2
Meld: H9 S9 C9 , tempMeld:: H9 S9 C9 N15
isValidMeldGroup:: H9 S9 C9 N15
getSequences: H9 S9 C9
isValidRankSequenceWithJokers:: H9 S9 C9
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 4, cardCount: 4
meld : N15 H9 S9 C9 : SET
MeldState of meld: H9 S9 C9 N15 is: SET, isMeld(before calling getMeldState): False
Meldable!! meld: H9 S9 C9 Meld Owner ID: 2
Meld: H1 H3 H2 , tempMeld:: H1 H3 H2 N15
isValidMeldGroup:: H1 H3 H2 N15
getSequences: H1 H2 H3
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
isValidRankSequenceWithJokers:: H1 H3 H2
card: H1, nextCard: H3
card: H3, nextCard: H2
isValidRankSequenceWithJokers jokers.Count: 1, difference: 10, initialMeldCount: 4, cardCount: 4
meld : N15 H1 H2 H3 : SEQUENCE
MeldState of meld: H1 H3 H2 N15 is: SEQUENCE, isMeld(before calling getMeldState): False
Meldable!! meld: H1 H2 H3 Meld Owner ID: 2
Highlight Meld: S1 S5 S4 S3 S2 isMeldLocal: False
Cards Count: 5 Meld Cards: S1 S2 S3 S4 S5
Highlight Meld: H9 S9 C9 isMeldLocal: False
Cards Count: 3 Meld Cards: H9 S9 C9
Highlight Meld: H1 H3 H2 isMeldLocal: False
Cards Count: 3 Meld Cards: H1 H2 H3
LocalPlayer Meld Count: 0
localMelds Count: 0 selectedCards: N15
localMelds Count: 0 isJokerInHand+ True
Card Selected: N15 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
DeSelected
disableAllMelds
onCardDeselected- delayMeldAreaTrasition
Clear duplicate Melds and show local melds, hide highlight meld and delete child objects
findOtherPossibleMeldsToHighlight
Card Selected: S10 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
Selected
checkForPossibleMelds
MeldList Meld: S1 S2 S3 S4 S5
MeldList Meld: H9 S9 C9
MeldList Meld: H1 H2 H3
Meld: S1 S5 S4 S3 S2 , tempMeld:: S1 S10 S5 S4 S3 S2
isValidMeldGroup:: S1 S10 S5 S4 S3 S2
getSequences: S1 S2 S3 S4 S5 S10
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
isValidRankSequenceWithJokers:: S1 S10 S5 S4 S3 S2
card: S1, nextCard: S10
card: S10, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 0, difference: 7, initialMeldCount: 6, cardCount: 6
meld : S10 S1 S2 S3 S4 S5 : NONE
MeldState of meld: S1 S10 S5 S4 S3 S2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: S1 S2 S3 S4 S5 selectedCards: S10
Meld: H9 S9 C9 , tempMeld:: S10 H9 S9 C9
isValidMeldGroup:: S10 H9 S9 C9
getSequences: H9 S9 C9 S10
isValidRankSequenceWithJokers:: S10 H9 S9 C9
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 4, cardCount: 4
meld : S10 H9 S9 C9 : NONE
MeldState of meld: S10 H9 S9 C9 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H9 S9 C9 selectedCards: S10
Meld: H1 H3 H2 , tempMeld:: H1 S10 H3 H2
isValidMeldGroup:: H1 S10 H3 H2
getSequences: H1 H2 H3 S10
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
isValidRankSequenceWithJokers:: H1 S10 H3 H2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 4, cardCount: 4
meld : S10 H1 H2 H3 : NONE
MeldState of meld: H1 S10 H3 H2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H1 H2 H3 selectedCards: S10
LocalPlayer Meld Count: 0
localMelds Count: 0 selectedCards: S10
localMelds Count: 0 isJokerInHand+ False
Card Selected: S10 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
DeSelected
disableAllMelds
onCardDeselected- delayMeldAreaTrasition
Clear duplicate Melds and show local melds, hide highlight meld and delete child objects
findOtherPossibleMeldsToHighlight
Card Selected: S12 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Trueplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
Card Selected: S12 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Trueplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
Card Selected: C13 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
Selected
checkForPossibleMelds
MeldList Meld: S1 S2 S3 S4 S5
MeldList Meld: H9 S9 C9
MeldList Meld: H1 H2 H3
Meld: S1 S5 S4 S3 S2 , tempMeld:: S1 C13 S5 S4 S3 S2
isValidMeldGroup:: S1 C13 S5 S4 S3 S2
getSequences: S1 S2 S3 S4 S5 C13
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
isValidRankSequenceWithJokers:: S1 C13 S5 S4 S3 S2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 6, cardCount: 6
meld : C13 S1 S2 S3 S4 S5 : NONE
MeldState of meld: S1 C13 S5 S4 S3 S2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: S1 S2 S3 S4 S5 selectedCards: C13
Meld: H9 S9 C9 , tempMeld:: C13 H9 S9 C9
isValidMeldGroup:: C13 H9 S9 C9
getSequences: H9 S9 C9 C13
isValidRankSequenceWithJokers:: C13 H9 S9 C9
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 4, cardCount: 4
meld : C13 H9 S9 C9 : NONE
MeldState of meld: C13 H9 S9 C9 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H9 S9 C9 selectedCards: C13
Meld: H1 H3 H2 , tempMeld:: H1 C13 H3 H2
isValidMeldGroup:: H1 C13 H3 H2
getSequences: H1 H2 H3 C13
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
isValidRankSequenceWithJokers:: H1 C13 H3 H2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 4, cardCount: 4
meld : C13 H1 H2 H3 : NONE
MeldState of meld: H1 C13 H3 H2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H1 H2 H3 selectedCards: C13
LocalPlayer Meld Count: 0
localMelds Count: 0 selectedCards: C13
localMelds Count: 0 isJokerInHand+ False
Card Selected: N15 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
Selected
checkForPossibleMelds
MeldList Meld: S1 S2 S3 S4 S5
MeldList Meld: H9 S9 C9
MeldList Meld: H1 H2 H3
Meld: S1 S5 S4 S3 S2 , tempMeld:: S1 C13 S5 S4 S3 S2 N15
isValidMeldGroup:: S1 C13 S5 S4 S3 S2 N15
getSequences: S1 S2 S3 S4 S5 C13
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
isValidRankSequenceWithJokers:: S1 C13 S5 S4 S3 S2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 7, cardCount: 7
meld : C13 N15 S1 S2 S3 S4 S5 : NONE
MeldState of meld: S1 C13 S5 S4 S3 S2 N15 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: S1 S2 S3 S4 S5 selectedCards: C13 N15
Meld: H9 S9 C9 , tempMeld:: C13 H9 S9 C9 N15
isValidMeldGroup:: C13 H9 S9 C9 N15
getSequences: H9 S9 C9 C13
isValidRankSequenceWithJokers:: C13 H9 S9 C9
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 5, cardCount: 5
meld : C13 N15 H9 S9 C9 : NONE
MeldState of meld: C13 H9 S9 C9 N15 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H9 S9 C9 selectedCards: C13 N15
Meld: H1 H3 H2 , tempMeld:: H1 C13 H3 H2 N15
isValidMeldGroup:: H1 C13 H3 H2 N15
getSequences: H1 H2 H3 C13
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
isValidRankSequenceWithJokers:: H1 C13 H3 H2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 5, cardCount: 5
meld : C13 N15 H1 H2 H3 : NONE
MeldState of meld: H1 C13 H3 H2 N15 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H1 H2 H3 selectedCards: C13 N15
LocalPlayer Meld Count: 0
localMelds Count: 0 selectedCards: C13 N15
localMelds Count: 0 isJokerInHand+ False
Card Selected: C11 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
Selected
checkForPossibleMelds
MeldList Meld: S1 S2 S3 S4 S5
MeldList Meld: H9 S9 C9
MeldList Meld: H1 H2 H3
Meld: S1 S5 S4 S3 S2 , tempMeld:: S1 C13 C11 S5 S4 S3 S2 N15
isValidMeldGroup:: S1 C13 C11 S5 S4 S3 S2 N15
getSequences: S1 S2 S3 S4 S5 C11 C13
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
isValidRankSequenceWithJokers:: S1 C13 C11 S5 S4 S3 S2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 8, cardCount: 8
meld : C13 N15 C11 S1 S2 S3 S4 S5 : NONE
MeldState of meld: S1 C13 C11 S5 S4 S3 S2 N15 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: S1 S2 S3 S4 S5 selectedCards: C13 N15 C11
Meld: H9 S9 C9 , tempMeld:: C13 C11 H9 S9 C9 N15
isValidMeldGroup:: C13 C11 H9 S9 C9 N15
getSequences: H9 S9 C9 C11 C13
isValidRankSequenceWithJokers:: C13 C11 H9 S9 C9
card: C13, nextCard: C11
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 6, cardCount: 6
meld : C13 N15 C11 H9 S9 C9 : NONE
MeldState of meld: C13 C11 H9 S9 C9 N15 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H9 S9 C9 selectedCards: C13 N15 C11
Meld: H1 H3 H2 , tempMeld:: H1 C13 C11 H3 H2 N15
isValidMeldGroup:: H1 C13 C11 H3 H2 N15
getSequences: H1 H2 H3 C11 C13
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
isValidRankSequenceWithJokers:: H1 C13 C11 H3 H2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 6, cardCount: 6
meld : C13 N15 C11 H1 H2 H3 : NONE
MeldState of meld: H1 C13 C11 H3 H2 N15 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H1 H2 H3 selectedCards: C13 N15 C11
LocalPlayer Meld Count: 0
localMelds Count: 0 selectedCards: C13 N15 C11
localMelds Count: 0 isJokerInHand+ False
Card Selected: C10 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
Selected
checkForPossibleMelds
MeldList Meld: S1 S2 S3 S4 S5
MeldList Meld: H9 S9 C9
MeldList Meld: H1 H2 H3
Meld: S1 S5 S4 S3 S2 , tempMeld:: S1 C13 C11 C10 S5 S4 S3 S2 N15
isValidMeldGroup:: S1 C13 C11 C10 S5 S4 S3 S2 N15
getSequences: S1 S2 S3 S4 S5 C10 C11 C13
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
isValidRankSequenceWithJokers:: S1 C13 C11 C10 S5 S4 S3 S2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 9, cardCount: 9
meld : C13 N15 C11 C10 S1 S2 S3 S4 S5 : NONE
MeldState of meld: S1 C13 C11 C10 S5 S4 S3 S2 N15 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: S1 S2 S3 S4 S5 selectedCards: C13 N15 C11 C10
Meld: H9 S9 C9 , tempMeld:: C13 C11 C10 H9 S9 C9 N15
isValidMeldGroup:: C13 C11 C10 H9 S9 C9 N15
getSequences: H9 S9 C9 C10 C11 C13
Rummy: C11 C10 C9
sequences: C11 C10 C9
getAllSequences:: meld: C11 C10 C9
isValidRankSequenceWithJokers:: C13 C11 C10 H9 S9 C9
card: C13, nextCard: C11
card: C11, nextCard: C10
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 7, cardCount: 7
meld : C13 N15 C11 C10 H9 S9 C9 : NONE
MeldState of meld: C13 C11 C10 H9 S9 C9 N15 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H9 S9 C9 selectedCards: C13 N15 C11 C10
Meld: H1 H3 H2 , tempMeld:: H1 C13 C11 C10 H3 H2 N15
isValidMeldGroup:: H1 C13 C11 C10 H3 H2 N15
getSequences: H1 H2 H3 C10 C11 C13
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
isValidRankSequenceWithJokers:: H1 C13 C11 C10 H3 H2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 1, difference: 0, initialMeldCount: 7, cardCount: 7
meld : C13 N15 C11 C10 H1 H2 H3 : NONE
MeldState of meld: H1 C13 C11 C10 H3 H2 N15 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H1 H2 H3 selectedCards: C13 N15 C11 C10
LocalPlayer Meld Count: 0
localMelds Count: 0 selectedCards: C13 N15 C11 C10
localMelds Count: 0 isJokerInHand+ False
onMeldButtonClicked: mSelectedCards.Count: 4
isValidMeldGroup:: C13 C11 C10 N15
getSequences: C10 C11 C13
isValidRankSequenceWithJokers:: C13 C11 C10
card: C13, nextCard: C11
card: C11, nextCard: C10
isValidRankSequenceWithJokers jokers.Count: 1, difference: 1, initialMeldCount: 4, cardCount: 4
mSelectedCards: C13 N15 C11 C10
Meld: C13 N15 C11 C10
handleImpureSequence: C10 C11 C13
isPureSequence: False
Meld: C10 C11 C13
j: 0, card: C10 (Card), nextCard: C10 (Card)
Rank Diff Joker Card: NextCard - 10 card: C10 (Card)
RankDiff: 0 valueDiff: 0 faceValueDiff: 0
j: 0, card: C10 (Card), nextCard: C11 (Card)
Rank Diff Joker Card: NextCard - 11 card: C10 (Card)
RankDiff: 1 valueDiff: 0 faceValueDiff: 1
j: 0, card: C11 (Card), nextCard: C13 (Card)
Rank Diff Joker Card: NextCard - 13 card: C11 (Card)
RankDiff: 2 valueDiff: 0 faceValueDiff: 2
Joker Card Name: 12,C, 0
Joker Pos: (690.0, 100.0, 0.0) SiblingIndex: 13
Remove Joker Card: N15 (Card)
disableAllMelds
assignMeldScaleValue : meld.name:
localPlayer.melds count: 1
index: 0 mselectedCards Count: C10 (Card)
Player ID of Card: 1
updatePlayerCardsDisplayTest
index: 1 mselectedCards Count: C11 (Card)
Player ID of Card: 1
updatePlayerCardsDisplayTest
index: 2 mselectedCards Count: C12 (Card)
Player ID of Card: 1
updatePlayerCardsDisplayTest
index: 3 mselectedCards Count: C13 (Card)
Player ID of Card: 1
updatePlayerCardsDisplayTest
Card Count ++: 4
cardAdded: False cardCount: 4 CARD_SCROLL_OFFSET: 71.61575
player cards: 10 presentWidth: 214.8472
CARD_ON_SCREEN: 15
Enable hand scroll: False
compriseCardDistanceOfMeld: False
X: 0 cards[i]: C10 (Card) Meld: C10 C11 C12 C13
X: -10 cards[i]: C12 (Card) Meld: C10 C11 C12 C13
X: 25 cards[i]: C13 (Card) Meld: C10 C11 C12 C13
UpdateMeldPoints: 1
updateMeldPoints: Total Score of Player: 1 is : 40
Card Selected: C2 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 18
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
Selected
checkForPossibleMelds
MeldList Meld: S1 S2 S3 S4 S5
MeldList Meld: H9 S9 C9
MeldList Meld: H1 H2 H3
MeldList Meld: C10 C11 C12 C13
Meld: S1 S5 S4 S3 S2 , tempMeld:: S1 S5 S4 S3 C2 S2
isValidMeldGroup:: S1 S5 S4 S3 C2 S2
getSequences: S1 C2 S2 S3 S4 S5
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
isValidRankSequenceWithJokers:: S1 S5 S4 S3 C2 S2
card: S1, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 8, initialMeldCount: 6, cardCount: 6
meld : C2 S1 S2 S3 S4 S5 : NONE
MeldState of meld: S1 S5 S4 S3 C2 S2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: S1 S2 S3 S4 S5 selectedCards: C2
Meld: H9 S9 C9 , tempMeld:: H9 S9 C9 C2
isValidMeldGroup:: H9 S9 C9 C2
getSequences: C2 H9 S9 C9
isValidRankSequenceWithJokers:: H9 S9 C9 C2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 4, cardCount: 4
meld : C2 H9 S9 C9 : NONE
MeldState of meld: H9 S9 C9 C2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H9 S9 C9 selectedCards: C2
Meld: H1 H3 H2 , tempMeld:: H1 H3 C2 H2
isValidMeldGroup:: H1 H3 C2 H2
getSequences: H1 C2 H2 H3
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
isValidRankSequenceWithJokers:: H1 H3 C2 H2
card: H1, nextCard: H3
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 10, initialMeldCount: 4, cardCount: 4
meld : C2 H1 H2 H3 : NONE
MeldState of meld: H1 H3 C2 H2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H1 H2 H3 selectedCards: C2
Meld: C13 C12 C11 C10 , tempMeld:: C13 C12 C11 C10 C2
isValidMeldGroup:: C13 C12 C11 C10 C2
getSequences: C2 C10 C11 C12 C13
Rummy: C13 C12 C11 C10
sequences: C13 C12 C11 C10
getAllSequences:: meld: C13 C12 C11 C10
isValidRankSequenceWithJokers:: C13 C12 C11 C10 C2
card: C13, nextCard: C12
card: C12, nextCard: C11
card: C11, nextCard: C10
card: C10, nextCard: C2
isValidRankSequenceWithJokers jokers.Count: 0, difference: 7, initialMeldCount: 5, cardCount: 5
meld : C2 C10 C11 C12 C13 : NONE
MeldState of meld: C13 C12 C11 C10 C2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: C10 C11 C12 C13 selectedCards: C2
LocalPlayer Meld Count: 0
localMelds Count: 1 selectedCards: C2
localMelds Count: 1 isJokerInHand+ False
discardPlayerCard: 1
localPlayer.mCards.Count: 10
onCardDeselected- discardPlayerCard
Clear duplicate Melds and show local melds, hide highlight meld and delete child objects
Discard Card: card: C2
addToDiscardCardsList discardedCards.Count: 2
addToDiscardCardsList card.discardCardIndex : 2
Calling MoveCard
discardPlayerCard: calling changeTurn
ChangeTurn : 1
Enable hand scroll: False
ChangeTurn
localPlayer mID: 1
In change turn line 2817 mTotalPlayers: 2
NextPlayer: 2
playAiTurn now: 2
disableAllMelds
meldList Count is >0
getSequences: D1 S1 C2 S2 S3 D4 S4 H5 S5 D7 H7 S11 H11 D12 S13 H13
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
getSequences: S1 S2 S3 S4 S5
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
getSequences: H5 H7
getSequences: H11 H13
getSequences: D1 D12
I am In getProperMelds: S1 S5 S4 S3 S2
Before Calling is Dissimilar from get ProperMelds: S1 S5 S4 S3 S2 , meld: S1 S5 S4 S3 S2
meld.meldOwnerID: 2, m.OwnerID: -5
melds of same name, continue
getUsefulDiscardCards CARDS:
getUsefulDiscardCards CARDS:
getUsefulCardsFromDiscard: usefulCards:
getSequences: D1 C2 D4 H5 D7 H7 H9 S9 C9 S11 H11 D12 S13 H13
getSequences: H9 S9 C9
getSequences: H5 H7
getSequences: H11 H13
getSequences: D1 D12
I am In getProperMelds: H9 S9 C9
Before Calling is Dissimilar from get ProperMelds: H9 S9 C9 , meld: H9 S9 C9
meld.meldOwnerID: 2, m.OwnerID: -5
melds of same name, continue
getUsefulDiscardCards CARDS:
getUsefulDiscardCards CARDS:
getUsefulCardsFromDiscard: usefulCards:
getSequences: D1 H1 C2 H2 H3 D4 H5 D7 H7 S11 H11 D12 S13 H13
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
getSequences: H1 H2 H3
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
getSequences: H5 H7
getSequences: H11 H13
getSequences: D1 D12
I am In getProperMelds: H1 H3 H2
Before Calling is Dissimilar from get ProperMelds: H1 H3 H2 , meld: H1 H3 H2
meld.meldOwnerID: 2, m.OwnerID: -5
melds of same name, continue
getUsefulDiscardCards CARDS:
getUsefulDiscardCards CARDS:
getUsefulCardsFromDiscard: usefulCards:
getSequences: D1 C2 D4 H5 D7 H7 C10 S11 H11 C11 D12 C12 S13 H13 C13
Rummy: C13 C12 C11 C10
sequences: C13 C12 C11 C10
getAllSequences:: meld: C13 C12 C11 C10
getSequences: C10 C11 C12 C13
Rummy: C13 C12 C11 C10
sequences: C13 C12 C11 C10
getAllSequences:: meld: C13 C12 C11 C10
getSequences: H5 H7
getSequences: H11 H13
getSequences: D1 D12
I am In getProperMelds: C13 C12 C11 C10
Before Calling is Dissimilar from get ProperMelds: C13 C12 C11 C10 , meld: C13 C12 C11 C10
meld.meldOwnerID: 1, m.OwnerID: -5
melds of same name, continue
getUsefulDiscardCards CARDS:
getUsefulDiscardCards CARDS:
getUsefulCardsFromDiscard: usefulCards:
processUsefulCards : discardedCards.Count:: 3
usefulDiscardCards at this point:
MeldList count: 4
enableHighlightOfCards
onGetDeckCard - AI #################################################
calling checkresult from delayCardAdditionToMeld
checkResult meldList != null && meldList.Count: 4
checkResult exiting
updatePlayerCardsDisplayTest
sort count: 9
getSequences: D1 D7 H7 S11 H11 D12 S12 S13 H13
Rummy: S13 S12 S11
sequences: S13 S12 S11
getAllSequences:: meld: S13 S12 S11
getSequences: S11 S12 S13
Rummy: S13 S12 S11
sequences: S13 S12 S11
getAllSequences:: meld: S13 S12 S11
assignValueForJokerCard: PossibleMeld: S13 S12 S11
getSequences: S11 S12 S13
Rummy: S13 S12 S11
sequences: S13 S12 S11
getAllSequences:: meld: S13 S12 S11
Possible melds in Player Cards: S13 (Card)
Possible melds in Player Cards: S12 (Card)
Possible melds in Player Cards: S11 (Card)
Time: 0CardsCount: 3 possible Meld Cards count: 3 Meld: S13 S12 S11
Create Meld for player
Player ID of Card: 2
updatePlayerCardsDisplayTest
sort count: 8
Player ID of Card: 2
updatePlayerCardsDisplayTest
sort count: 7
Player ID of Card: 2
updatePlayerCardsDisplayTest
sort count: 6
UpdateMeldPoints: 2
updateMeldPoints: Total Score of Player: 2 is : 106
compriseCardDistanceOfMeldForOtherPlayers: S11 S12 S13
Discard Ai Card - Delay: 1.4
showOrDiscardAI discardAI: 2
discardAI routine in RummyGameMgr
Calling checkResult from discardAI
AI getAiDiscardCard
getDiscardCard
getSequences: D1 D7 H7 H11 D12 H13
getDiscardCard: H13, 0
Discard Card: H13 (Card) isJoker: False
RummyGameMgr class discardAiCard
discardAiCard: 2, card: H13
updatePlayerCardsDisplayTest
sort count: 5
Discard Card: card: H13
addToDiscardCardsList discardedCards.Count: 3
addToDiscardCardsList card.discardCardIndex : 4
Calling MoveCard
discardAiCard: 2, card: H13
discardAiCard: calling changeTurn: 2
ChangeTurn : 2
ChangeTurn
localPlayer mID: 1
In change turn line 2817 mTotalPlayers: 2
ID != localPlayer.mID : 2 , localPlayer.mID: 1, so waiting
NextPlayer: 1
showUsefulCardsOnDiscardPile
discardedCards.Count > 0
Calling method fetchAllUsefulDiscards: 5
fetchAllUsefulDiscards :
fetchAllUsefulDiscards discardedCards: H5 D4 C2 H13
fetchAllUsefulDiscards without any other cards:
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 , meldName: NoMeld, meld state: NONE
pickUsefulDiscardsFromSequences: meld: NO MELD
getAllMySequences : C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13
getSequences: C2 C4 D4 C5 H5 S7 C8 D8 S8 D9 S10 D11 H13
getAllMySequences returned with seqs: 0
pickUsefulDiscardsFromSequences: goAhead: True,ogSeqs.Count: 0
pickusefulDiscardsFromSets:
calling getallmysets: C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13
getAllMySets :
getAllMySets : C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13
sets: 1
set: S8 D8 C8
Calling fetchUsefulDiscardsInSets
fetchAllUsefulDiscards meld Count: 5
isValidMeldGroup:: S1 S5 S4 S3 S2
meld : S1 S2 S3 S4 S5 : SEQUENCE
meld: S1 S5 S4 S3 S2 , meldState: ms: SEQUENCE
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: S1 S5 S4 S3 S2
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 S1 S2 S3 S4 S5 , meldName: S1 S2 S3 S4 S5 , meld state: SEQUENCE
pickUsefulDiscardsFromSequences: meld: S1 S5 S4 S3 S2
getAllMySequences : C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 S1 S2 S3 S4 S5
m from pure seqs: S5 S4 S3 S2
getSequences: S1 S2 C2 S3 C4 D4 S4 H5 S5 C5 S7 D8 C8 S8 D9 S10 D11 H13
m from seqMelds: S1 S5 S4 S3 S2
optimizeSequenceMelds
getAllMySequences returned with seqs: 2
pickUsefulDiscardsFromSequences: goAhead: False,ogSeqs.Count: 1
isValidMeldGroup:: H9 S9 C9
getSequences: H9 S9 C9
isValidRankSequenceWithJokers:: H9 S9 C9
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 3, cardCount: 3
meld : H9 S9 C9 : SET
meld: H9 S9 C9 , meldState: ms: SET
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: H9 S9 C9
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 H9 S9 C9 , meldName: H9 S9 C9 , meld state: SET
pickusefulDiscardsFromSets:
calling getallmysets: C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 H9 S9 C9
getAllMySets :
getAllMySets : C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 H9 S9 C9
sets: 2
set: H9 S9 D9 C9
set: S8 D8 C8
Calling fetchUsefulDiscardsInSets
isValidMeldGroup:: H1 H3 H2
meld : H1 H2 H3 : SEQUENCE
meld: H1 H3 H2 , meldState: ms: SEQUENCE
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: H1 H3 H2
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 H1 H2 H3 , meldName: H1 H2 H3 , meld state: SEQUENCE
pickUsefulDiscardsFromSequences: meld: H1 H3 H2
getAllMySequences : C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 H1 H2 H3
getSequences: H1 C2 H2 H3 C4 D4 C5 H5 S7 C8 D8 S8 D9 S10 D11 H13
m from seqMelds: H1 H3 H2
optimizeSequenceMelds
getAllMySequences returned with seqs: 1
pickUsefulDiscardsFromSequences: goAhead: True,ogSeqs.Count: 1
pickUsefulDiscardsFromSequences in the LOOP: H1 H3 H2
1st fetchUsefulDiscardsInSequences: seq: H1 H3 H2
fetchUsefulDiscardsInSequences: seq: H1 H3 H2
isValidMeldGroup:: C13 C12 C11 C10
meld : C10 C11 C12 C13 : SEQUENCE
meld: C13 C12 C11 C10 , meldState: ms: SEQUENCE
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: C13 C12 C11 C10
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 C10 C11 C12 C13 , meldName: C10 C11 C12 C13 , meld state: SEQUENCE
pickUsefulDiscardsFromSequences: meld: C13 C12 C11 C10
getAllMySequences : C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 C10 C11 C12 C13
m from pure seqs: C13 C12 C11 C10
getSequences: C2 C4 D4 C5 H5 S7 C8 D8 S8 D9 C10 S10 D11 C11 C12 H13 C13
m from seqMelds: C13 C12 C11 C10
optimizeSequenceMelds
getAllMySequences returned with seqs: 1
pickUsefulDiscardsFromSequences: goAhead: True,ogSeqs.Count: 1
pickUsefulDiscardsFromSequences in the LOOP: C13 C12 C11 C10
1st fetchUsefulDiscardsInSequences: seq: C13 C12 C11 C10
fetchUsefulDiscardsInSequences: seq: C13 C12 C11 C10
isValidMeldGroup:: S13 S12 S11
meld : S11 S12 S13 : SEQUENCE
meld: S13 S12 S11 , meldState: ms: SEQUENCE
Calling fetchAllDiscardsUsefulWithPlayerCards with meld: S13 S12 S11
fetchAllDiscardsUsefulWithPlayerCards:
cardsList now: C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 S11 S12 S13 , meldName: S11 S12 S13 , meld state: SEQUENCE
pickUsefulDiscardsFromSequences: meld: S13 S12 S11
getAllMySequences : C4 C5 C8 D8 D9 D11 S7 S8 S10 H5 D4 C2 H13 S11 S12 S13
m from pure seqs: S13 S12 S11 S10
getSequences: C2 C4 D4 C5 H5 S7 C8 D8 S8 D9 S10 D11 S11 S12 H13 S13
m from seqMelds: S13 S12 S11 S10
optimizeSequenceMelds
getAllMySequences returned with seqs: 1
pickUsefulDiscardsFromSequences: goAhead: True,ogSeqs.Count: 1
pickUsefulDiscardsFromSequences in the LOOP: S13 S12 S11 S10
1st fetchUsefulDiscardsInSequences: seq: S13 S12 S11 S10
fetchUsefulDiscardsInSequences: seq: S13 S12 S11 S10
Card Selected: C7 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Trueplayer.mIsCardTaken: False Tapable: True cardsInDeck 17
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
deckCard : C7
IsCardSorting
sort count: 10
Target Position: (-105.5, 649.8, 0.0)
updatePlayerCardsDisplayTest
cardonscreen: 15 player cards count: 10
Card Selected: S10 (Card) c.mIsDiscardCard: False c.mIsDeckCard: Falseplayer.mIsCardTaken: True Tapable: True cardsInDeck 16
player.mIsTurn: True,c.mTapable: True player.isCardsSortingStopped: TrueisMeldCompulsive False isJokerPanelShown: False
mIsPlayerCard
Selected
checkForPossibleMelds
MeldList Meld: S1 S2 S3 S4 S5
MeldList Meld: H9 S9 C9
MeldList Meld: H1 H2 H3
MeldList Meld: C10 C11 C12 C13
MeldList Meld: S11 S12 S13
Meld: S1 S5 S4 S3 S2 , tempMeld:: S1 S10 S5 S4 S3 S2
isValidMeldGroup:: S1 S10 S5 S4 S3 S2
getSequences: S1 S2 S3 S4 S5 S10
Rummy: S5 S4 S3 S2
sequences: S1 S5 S4 S3 S2
getAllSequences:: meld: S1 S2 S3 S4 S5
isValidRankSequenceWithJokers:: S1 S10 S5 S4 S3 S2
card: S1, nextCard: S10
card: S10, nextCard: S5
card: S5, nextCard: S4
card: S4, nextCard: S3
card: S3, nextCard: S2
isValidRankSequenceWithJokers jokers.Count: 0, difference: 7, initialMeldCount: 6, cardCount: 6
meld : S10 S1 S2 S3 S4 S5 : NONE
MeldState of meld: S1 S10 S5 S4 S3 S2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: S1 S2 S3 S4 S5 selectedCards: S10
Meld: H9 S9 C9 , tempMeld:: S10 H9 S9 C9
isValidMeldGroup:: S10 H9 S9 C9
getSequences: H9 S9 C9 S10
isValidRankSequenceWithJokers:: S10 H9 S9 C9
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 4, cardCount: 4
meld : S10 H9 S9 C9 : NONE
MeldState of meld: S10 H9 S9 C9 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H9 S9 C9 selectedCards: S10
Meld: H1 H3 H2 , tempMeld:: H1 S10 H3 H2
isValidMeldGroup:: H1 S10 H3 H2
getSequences: H1 H2 H3 S10
sequences: H1 H3 H2
getAllSequences:: meld: H1 H2 H3
isValidRankSequenceWithJokers:: H1 S10 H3 H2
Symbols dont match
isValidRankSequenceWithJokers jokers.Count: 0, difference: 0, initialMeldCount: 4, cardCount: 4
meld : S10 H1 H2 H3 : NONE
MeldState of meld: H1 S10 H3 H2 is: NONE, isMeld(before calling getMeldState): False
Can't meld... Meld: H1 H2 H3 selectedCards: S10
Meld: C13 C12 C11 C10 , tempMeld:: C13 C12 C11 S10 C10
isValidMeldGroup:: C13 C12 C11 S10 C10
getSequences: S10 C10 C11 C12 C13
Rummy: C13 C12 C11 C10
sequences: C13 C12 C11 C10
getAllSequences:: meld: C13 C12 C11 C10
isVali
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment