/** Validate MatchDiscardsAndJustDrawnMove */ public boolean valid(Solitaire theGame) { boolean validation = false; // VALIDATE: Card c1 = null, c2 = null; if (!discards.empty()) c1 = discards.peek(); if (!justDrawn.empty()) c2 = justDrawn.peek(); if ((c1 != null) && (c2 != null)) { if ((c1.getRank() + c2.getRank()) == 13) { validation = true; } } return validation; }