You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nice work first of all. I was checking the bots code and see an issue in status3bot, in preflop strategy this is the code:
var action_so_far = Array('raised', 'folded', 'limpers');
var hand_type = Array('hn', 'pr', 'cn', 'su', 'sc');
for(i = 0;i < action_so_far.length;i++) {
for(j = 0;j < hand_type.length;j++) {
var match = false;
switch(j) {
case 'hn':
match = true;
break;
case 'pr':
match = hand.pair;
break;
case 'cn':
match = (hand.connected == 1);
break;
case 'su':
match = hand.suited;
break;
case 'sc':
match = (hand.suited && (hand.connected == 1));
break;
in evaluate_preflop method in this switch statement you are checking value of j. but it cannot be ever 'hn'/'pr'.... hence it never raises or do anything except calling the hand. i am not sure what you wanted to write down there.
Can you resolve this?
The text was updated successfully, but these errors were encountered:
Hi
nice work first of all. I was checking the bots code and see an issue in status3bot, in preflop strategy this is the code:
in evaluate_preflop method in this switch statement you are checking value of j. but it cannot be ever 'hn'/'pr'.... hence it never raises or do anything except calling the hand. i am not sure what you wanted to write down there.
Can you resolve this?
The text was updated successfully, but these errors were encountered: