Advertisement

5 card dd ai (ver 1)

Started by September 23, 2004 08:27 AM
-1 comments, last by dan1088352 20 years, 2 months ago
#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