User Tag List

Results 1 to 5 of 5

Thread: Checking Card Combos

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Checking Card Combos

    I have most of a Poker game made. The only problem is that I don't know how to check if the player has a winning hand. (i.e. Pair, Straight, Full House) I planned on doing this through a list that holds the values of the players hand. All of my cards have an Alterable String that has the name of the card. (i.e. 5 of Hearts=5H and Kind of Clubs=KC) How would I use this to check for winning combinations?

  2. #2
    Clicker Fusion 2.5

    Join Date
    Jul 2006
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Checking Card Combos


    Jeff did an excellent video poker game.You could maybe gets some
    tips from that. You can download it here

    http://www.flyin.com/video_poker.zip
    strat59

  3. #3
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Checking Card Combos

    Thanks, that was a great example. But in his, he only had to test pairs of Jacks or Better, and it took 50 events. I would be looking of upwards of 300 events just on pairs. Any help on a faster method, maybe something to do with looping through the five cards of a hand, would be greatly appreciated.

  4. #4
    Clicker Fusion 2.5

    Join Date
    Jul 2006
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Checking Card Combos

    Yeah I see your point.I'm not really clued up on the rules of poker but I had a simular situation making a multi player yahtzee game working out all the multple dice combos and yahtzee bonuses etc. I wound up using the magic deque.The sort feature cut the work in half, Maybe worh a look

    strat59

  5. #5
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Checking Card Combos

    I'm not very experienced with the Magic Deque object, but I'll give it a look.

Similar Threads

  1. Fighting game combos
    By Godspeed8118 in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 4th August 2011, 05:31 PM
  2. Some key combos not working
    By KaiseanGames in forum File Archive
    Replies: 0
    Last Post: 28th January 2011, 09:30 AM
  3. Checking Sound Card
    By ace in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th May 2009, 03:42 PM
  4. String combos together?
    By Mishap in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 11th February 2009, 11:12 PM
  5. Combos with keys?
    By Dbergn in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 11th July 2006, 07:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •