hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
hawk enterprises portfolio
 
counter
Select Country/Language FrancaisDeutschEspanolItalianoPortugeseJapaneseKoreanChineseArabicRussianEnglish
Current Projects
portland paranormal.com
xxk search
battlenow
bighawk casino
Hawk Enterprises News

PHP Poker 5 Card Draw

Tags: , by Hawk on 01.24.08 6:47 am


Demo
Download PHP Poker (Requires Login)

(Before your download Take a minute and help a brother out. Ad Revenue supports free software like this).
PHP Poker By Hawk Enterprises
Created By Hawk Roberts

PHP Poker is 5-card draw versus a poker mind. It is a very basic intelligence that has a great overall
strategy but still has it’s problem.

The code for this is great it includes a HTML compliant (no graphics) version of
a poker engine. This version does have betting capibilities but is still a great program
and project engine for anyone interested in making poker games.

http://www.hawkenterprises.org

Agreements
Basically don’t remove the credit to us unless you have came and made an arrangement with us.

4 Comments »

RSS feed for comments on this post. TrackBack URI

  1. Hi, i found two little bugs in the scripts:

    1. Line 89
    Original Code: $card_value_third = $card_['value'];
    The underscore character “_” is missing.

    2. At the two pair check is necessary add the follow code to check the full house:

    if($card_appears == 3){
    $hasThreeKind = true;
    }

    Comment by fideo — March 9, 2008 #

  2. jejeje, again me: i found another bug:

    Line 130:
    Original code: if(!noStraight) $hasStraight = true;

    I think the correct code is:
    if(noStraight) $hasStraight = true;

    Chao

    Comment by fideo — March 9, 2008 #

  3. Sorry, the last post is incorrect.

    The line:
    if(!noStraight) $hasStraight = true; is correct,

    But, when i test the hand with a straight don“t work, i going to look a solution that work to straight a straight flush and post it.

    Chao

    Comment by fideo — March 9, 2008 #

  4. Yeah part of that was coded a little too quickly, double negatives can really confuse the heck out of people. There are “known” problems with the AI but I felt that unless your a programmer your probably not going to be able to exploit it.

    Comment by Hawk — March 10, 2008 #

Leave a comment

You must be logged in to post a comment.