5 card dd ai (ver 1)
#include <ctime>
int rndnum = rand()%5;
int rndnuma = rand()%10
int ai()
{
//start of it
if (pchand <14)
{
if(rndnum>2)
{
bet = false;
}
else
{
bet = true;
}
//set the limit
if(bet == true)
{
limit = (rndnum *4)* pchand;
bet_amount = (rndnum-1) * pchand + (17*rndnuma)
//end of it
}
}
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement