debugging
This commit is contained in:
@@ -81,7 +81,7 @@ LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, BoardI
|
|||||||
// myBestHandPosition auf Fehler ueberpruefen
|
// myBestHandPosition auf Fehler ueberpruefen
|
||||||
for(j=0; j<5; j++) {
|
for(j=0; j<5; j++) {
|
||||||
if (bestHandPos[j] == -1) {
|
if (bestHandPos[j] == -1) {
|
||||||
cout << "ERROR get myBestHandPosition in localhand.cpp" << endl;
|
cout << "ERROR getMyBestHandPosition in localhand.cpp" << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -346,6 +346,28 @@ void LocalPlayer::preflopEngine() {
|
|||||||
case 1: {
|
case 1: {
|
||||||
|
|
||||||
switch(actualHand->getMyID()) {
|
switch(actualHand->getMyID()) {
|
||||||
|
case 1: {
|
||||||
|
myAction = PLAYER_ACTION_CALL;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 2: {
|
||||||
|
myAction = PLAYER_ACTION_CALL;
|
||||||
|
// raise = 120;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default: {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 2: {
|
||||||
|
|
||||||
|
switch(actualHand->getMyID()) {
|
||||||
|
case 1: {
|
||||||
|
myAction = PLAYER_ACTION_FOLD;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case 2: {
|
case 2: {
|
||||||
myAction = PLAYER_ACTION_RAISE;
|
myAction = PLAYER_ACTION_RAISE;
|
||||||
raise = 120;
|
raise = 120;
|
||||||
@@ -357,8 +379,6 @@ void LocalPlayer::preflopEngine() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2: { myAction = PLAYER_ACTION_FOLD; }
|
|
||||||
break;
|
|
||||||
case 3: { myAction = PLAYER_ACTION_FOLD; }
|
case 3: { myAction = PLAYER_ACTION_FOLD; }
|
||||||
break;
|
break;
|
||||||
default: {}
|
default: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user