showdown beginning

This commit is contained in:
floty
2008-10-20 20:08:18 +00:00
parent 1c5e5767da
commit 030fd6a8c5
3 changed files with 21 additions and 1 deletions
+19
View File
@@ -18,6 +18,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "cardsvalue.h"
#include <core/openssl_wrapper.h>
#include <limits>
CardsValue::CardsValue()
{
@@ -639,4 +641,21 @@ int** CardsValue::calcCardsChance(GameState beRoID, int* playerCards, int* board
return hand;
}
int** CardsValue::showdown(GameState beRoID, int** playerCards, int playerCount) {
int i,j;
int** chance = new int*[2];
for(i=0;i<10;i++) {
chance[i] = new int[2];
for(j=0;j<2;j++) {
chance[i][j] = 0;
}
}
int rand[5];
return chance;
}