File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,21 +109,29 @@ int Informed::play() {
109109 // compute the expected values
110110 // -------------------------------------------------------
111111 init ();
112- for (int i = 0 ; i < 8 ; i++) {
112+ for (int i = 0 ; i < 100 ; i++) {
113113 dealer_bust_european_iteration ();
114114 }
115115 dealer_european_to_american ();
116116
117117 stand (upcard);
118118
119- for (int i = 0 ; i < 8 ; i++) {
119+ for (int i = 0 ; i < 100 ; i++) {
120120 hit_iteration ();
121121 }
122122 double_down ();
123123 // -------------------------------------------------------
124124
125- // #define BJDEBUG
125+ #define BJDEBUG
126126#ifdef BJDEBUG
127+ for (int i = 0 ; i < SIZE; i++) {
128+ double s = 0 ;
129+ for (int f = 0 ; f < SIZE; f++) {
130+ s += dealer_hard[f][i];
131+ }
132+ std::cout << i << " " << s << std::endl;
133+ }
134+
127135 // for (int f = 0; f < 23; f++) {
128136 // std::cout << f << "\t";
129137 // for (int i = 0; i < 31; i++) {
You can’t perform that action at this time.
0 commit comments