This is a simple data collector for the German card game Skat.
For each game a number of data points are collected and a summary can be displayed.
This requires the skat_engine library.
For the Skat itself (2 cards) this looks like:
Skat Statistics:
0 Jacks: 761538 = 76.15%
1 Jacks: 226219 = 22.62%
2 Jacks: 12243 = 1.22%
Avg card points: 3.7503
Distribution up to 7: 54.48%, 8 and more points: 45.52%
Skat points: 0 = 13.28%, 1 = 0%, 2 = 9.72%, 3 = 9.64%, 4 = 10.91%, 5 = 3.23%, 6 = 4.45%, 7 = 3.24%, 8 = 1.19%, 9 = 0%, 10 = 9.71%, 11 = 9.63%, 12 = 3.21%, 13 = 6.47%, 14 = 6.44%, 15 = 3.22%, 16 = 0%, 17 = 0%, 18 = 0%, 19 = 0%, 20 = 1.2%, 21 = 3.24%, 22 = 1.22%
Only high cards: 241771 = 24.18%
Only low cards: 241362 = 24.14%
Mixed cards: 516867 = 51.69%
This shows for example, the chance to find at least on jack in the skat is around 24 percent.
To find either a queen and nothing or a king and nothing is around 20% (Skat points 3 and 4.).
For the players the statistics is a bit larger:
Player 3 Statistics:
Avg card points: 3.75021723
Card points distribution: 0 = 0%, 1 = 0%, 2 = 0%, 3 = 0%, 4 = 0.01%, 5 = 0.01%, 6 = 0.02%, 7 = 0.04%, 8 = 0.07%, 9 = 0.11%, 10 = 0.13%, 11 = 0.2%, 12 = 0.24%, 13 = 0.29%, 14 = 0.34%, 15 = 0.42%, 16 = 0.5%, 17 = 0.6%, 18 = 0.76%, 19 = 0.96%, 20 = 1.14%, 21 = 1.34%, 22 = 1.56%, 23 = 1.74%, 24 = 1.83%, 25 = 1.95%, 26 = 2.11%, 27 = 2.25%, 28 = 2.44%, 29 = 2.73%, 30 = 3.07%, 31 = 3.23%, 32 = 3.41%, 33 = 3.56%, 34 = 3.56%, 35 = 3.39%, 36 = 3.34%, 37 = 3.35%, 38 = 3.33%, 39 = 3.34%, 40 = 3.47%, 41 = 3.53%, 42 = 3.39%, 43 = 3.23%, 44 = 3.05%, 45 = 2.75%, 46 = 2.43%, 47 = 2.24%, 48 = 2.14%, 49 = 1.99%, 50 = 1.86%, 51 = 1.81%, 52 = 1.65%, 53 = 1.42%, 54 = 1.22%, 55 = 1.05%, 56 = 0.86%, 57 = 0.71%, 58 = 0.63%, 59 = 0.58%, 60 = 0.49%, 61 = 0.43%, 62 = 0.38%, 63 = 0.31%, 64 = 0.23%, 65 = 0.18%, 66 = 0.14%, 67 = 0.1%, 68 = 0.08%, 69 = 0.07%, 70 = 0.06%, 71 = 0.05%, 72 = 0.04%, 73 = 0.03%, 74 = 0.02%, 75 = 0.01%, 76 = 0.01%, 77 = 0.01%, 78 = 0%, 79 = 0%, 80 = 0%, 81 = 0%, 82 = 0%, 83 = 0%, 84 = 0%, 85 = 0%, 86 = 0%, 87 = 0%, 88 = 0%, 89 = 0%, 90 = 0%, 91 = 0%, 92 = 0%
Distribution up to 37: 50.7%, 38 and more points: 49.3%
Jacks:
0 Jacks: 2035420 = 20.35%, and aces: [303944, 811031, 684073, 215152, 21220] (0a = 3.04%, 1a = 8.11%, 2a = 6.84%, 3a = 2.15%, 4a = 0.21%)
1 Jacks: 4282427 = 42.82%, and aces: [811347, 1822542, 1289424, 332791, 26323] (0a = 8.11%, 1a = 18.23%, 2a = 12.89%, 3a = 3.33%, 4a = 0.26%)
2 Jacks: 2889616 = 28.9%, and aces: [683425, 1286361, 752108, 157899, 9823] (0a = 6.83%, 1a = 12.86%, 2a = 7.52%, 3a = 1.58%, 4a = 0.1%)
3 Jacks: 733854 = 7.34%, and aces: [214262, 334173, 158154, 25994, 1271] (0a = 2.14%, 1a = 3.34%, 2a = 1.58%, 3a = 0.26%, 4a = 0.01%)
4 Jacks: 58683 = 0.59%, and aces: [20963, 26508, 9930, 1243, 39] (0a = 0.21%, 1a = 0.27%, 2a = 0.1%, 3a = 0.01%, 4a = 0%)
Jacks with Skat:
0 Jacks: 1349108 = 13.49%, and aces: [120040, 443428, 520671, 232026, 32943] (0a = 1.2%, 1a = 4.43%, 2a = 5.21%, 3a = 2.32%, 4a = 0.33%)
1 Jacks: 3803238 = 38.03%, and aces: [442180, 1387711, 1390902, 521261, 61184] (0a = 4.42%, 1a = 13.88%, 2a = 13.91%, 3a = 5.21%, 4a = 0.61%)
2 Jacks: 3485683 = 34.86%, and aces: [519669, 1389265, 1172550, 368213, 35986] (0a = 5.2%, 1a = 13.89%, 2a = 11.73%, 3a = 3.68%, 4a = 0.36%)
3 Jacks: 1224003 = 12.24%, and aces: [231707, 521507, 368178, 95087, 7524] (0a = 2.32%, 1a = 5.22%, 2a = 3.68%, 3a = 0.95%, 4a = 0.08%)
4 Jacks: 137968 = 1.38%, and aces: [32484, 61551, 35964, 7503, 466] (0a = 0.32%, 1a = 0.62%, 2a = 0.36%, 3a = 0.08%, 4a = 0%)
Jacks and Trump (with Skat):
0 Jacks: 1349108 = 13.49%, and trumps: [0, 0, 0, 66660, 790272, 421149, 67452, 3575, 0, 0, 0]
(0t = 0%, 1t = 0%, 2t = 0%, 3t = 0.67%, 4t = 7.9%, 5t = 4.21%, 6t = 0.67%, 7t = 0.04%, 8t = 0%, 9t = 0%, 10t = 0%)
1 Jacks: 3803238 = 38.03%, and trumps: [0, 0, 0, 0, 637263, 2261800, 799040, 100808, 4327, 0, 0]
(0t = 0%, 1t = 0%, 2t = 0%, 3t = 0%, 4t = 6.37%, 5t = 22.62%, 6t = 7.99%, 7t = 1.01%, 8t = 0.04%, 9t = 0%, 10t = 0%)
2 Jacks: 3485683 = 34.86%, and trumps: [0, 0, 0, 0, 0, 1179433, 1806569, 453910, 44329, 1442, 0]
(0t = 0%, 1t = 0%, 2t = 0%, 3t = 0%, 4t = 0%, 5t = 11.79%, 6t = 18.07%, 7t = 4.54%, 8t = 0.44%, 9t = 0.01%, 10t = 0%)
3 Jacks: 1224003 = 12.24%, and trumps: [0, 0, 0, 0, 0, 0, 642832, 484878, 89494, 6637, 162]
(0t = 0%, 1t = 0%, 2t = 0%, 3t = 0%, 4t = 0%, 5t = 0%, 6t = 6.43%, 7t = 4.85%, 8t = 0.89%, 9t = 0.07%, 10t = 0%)
4 Jacks: 137968 = 1.38%, and trumps: [0, 0, 0, 0, 0, 0, 8663, 87384, 36645, 5003, 273]
(0t = 0%, 1t = 0%, 2t = 0%, 3t = 0%, 4t = 0%, 5t = 0%, 6t = 0.09%, 7t = 0.87%, 8t = 0.37%, 9t = 0.05%, 10t = 0%)
No points cards (7,8,9):
0 no points cards: 28647 = 0.29%
1 no points cards: 312315 = 3.12%
2 no points cards: 1288174 = 12.88%
3 no points cards: 2646694 = 26.47%
4 no points cards: 2972915 = 29.73%
5 no points cards: 1902410 = 19.02%
6 no points cards: 693770 = 6.94%
7 no points cards: 139697 = 1.40%
8 no points cards: 14681 = 0.15%
9 no points cards: 689 = 0.01%
10 no points cards: 8 = 0.00%
Num trumps with Skat:
0, 1, 2: not possible
3 Trumps: 66660 = 0.67% and non-trump aces: 0 = 0.23%, 1 = 0.27%, 2 = 0.13%, 3 = 0.02%
4 Trumps: 1427535 = 14.28% and non-trump aces: 0 = 4.5%, 1 = 6.24%, 2 = 3.04%, 3 = 0.5%
5 Trumps: 3862382 = 38.62% and non-trump aces: 0 = 12.89%, 1 = 17.32%, 2 = 7.47%, 3 = 0.95%
6 Trumps: 3324556 = 33.25% and non-trump aces: 0 = 12.35%, 1 = 15.03%, 2 = 5.35%, 3 = 0.51%
7 Trumps: 1130555 = 11.31% and non-trump aces: 0 = 4.86%, 1 = 5.01%, 2 = 1.35%, 3 = 0.09%
8 Trumps: 174795 = 1.75% and non-trump aces: 0 = 0.9%, 1 = 0.71%, 2 = 0.13%, 3 = 0.01%
9 Trumps: 13082 = 0.13% and non-trump aces: 0 = 0.08%, 1 = 0.04%, 2 = 0.01%, 3 = 0%
10 Trumps: 429 = 0.00% and non-trump aces: 0 = 0%, 1 = 0%, 2 = 0%, 3 = 0%
Num cards of best suit: 0 = 0, 1 = 0, 2 = 367851, 3 = 5240660, 4 = 3644148, 5 = 691042, 6 = 54848, 7 = 1451, 8 = 0, 9 = 0, 10 = 0
Num trumps (suit + jacks): 0 = 0, 1 = 0, 2 = 0, 3 = 690029, 4 = 3486010, 5 = 3948021, 6 = 1582245, 7 = 271364, 8 = 21558, 9 = 762, 10 = 11