debugging
This commit is contained in:
@@ -81,7 +81,7 @@ LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, BoardI
|
||||
// myBestHandPosition auf Fehler ueberpruefen
|
||||
for(j=0; j<5; j++) {
|
||||
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: {
|
||||
|
||||
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: {
|
||||
myAction = PLAYER_ACTION_RAISE;
|
||||
raise = 120;
|
||||
@@ -357,8 +379,6 @@ void LocalPlayer::preflopEngine() {
|
||||
|
||||
}
|
||||
break;
|
||||
case 2: { myAction = PLAYER_ACTION_FOLD; }
|
||||
break;
|
||||
case 3: { myAction = PLAYER_ACTION_FOLD; }
|
||||
break;
|
||||
default: {}
|
||||
|
||||
Reference in New Issue
Block a user