Logo Search packages:      
Sourcecode: dealer version File versions  Download package

pointcount.c

#include "pointcount.h"

int tblPointcount [idxEnd][13] =
{
      /* 2  3  4  5  6  7  8  9  T  J  Q  K  A */
      {  0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4}, /* hcp */
      {  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2}, /* controls */
      {  0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0}, /* tens */
      {  0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0}, /* jacks */
      {  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0}, /* queens */
      {  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0}, /* kings */
      {  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, /* aces */
      {  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1}, /* top2 */
      {  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1}, /* top3 */
      {  0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1}, /* top4 */
      {  0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1}, /* top5 */
      {  0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4, 6}  /* c13 */
} ;



Generated by  Doxygen 1.6.0   Back to index