debugging

This commit is contained in:
floty
2007-08-25 15:50:26 +00:00
parent d8bfeadf64
commit 2ff0fabd85
2 changed files with 23 additions and 3 deletions
+1 -1
View File
@@ -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;
}
}
+22 -2
View File
@@ -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: {}