Logo Search packages:      
Sourcecode: vdr-plugin-spider version File versions

void Pack::initialDeal ( Piles &  piles,
int  rows,
Piles &  extra 
)

First initial deal of a game

Definition at line 106 of file heap.c.

References deal().

Referenced by Tableau::Tableau().

{
  for (int r = 0; r < rows; ++r)
    deal(piles);
  deal(extra);

  // turn all open cards
  for (unsigned int p = 0; p < piles.size(); ++p)
    piles[p]->turn();
}


Generated by  Doxygen 1.6.0   Back to index