Asset - Demo Texas Hold'em — Advanced Poker Asset

Discussion in 'Marketplace' started by BiTrunade, Feb 16, 2018.

  1. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    [​IMG]
    Texas Hold'em — A Poker Asset

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    What is Texas Hold'em Texas hold 'em is a variation of the card game of poker. Two cards, known as the hole cards, are dealt face down to each player, and then five community cards are dealt face up in three stages.

    About the asset An advanced and outstanding Texas Hold'em asset that includes everything from the most popular poker game "Texas Hold'em", from the cards evaluation to poker bluffing to the tiniest details. This asset is dedicated to provide you with all what you need to know about creating a poker game, it involves an advanced AI along with poker bluffing to make it as realistic as possible.

    Features
    • HD & gorgeous graphics
    • Minimum of 2 players and maximum of 5 [ You can edit it to add more ]
    • Super advanced AI
    • Poker Bluff
    • Game actions including
      • Check
      • Call
      • Raise
      • Re-Raise
      • All-in
      • Fold
    • Dealer, small blind, big blind, and under-the-gun.
    • All Texas Hold'em stages
      • Pre-flop
      • Flop
      • Turn
      • River
      • Showdown
    • Advanced and decent showdown.
      • Evaluate the winner
      • Split pot
      • Tie
    • This asset includes all Texas Hold'em evaluations, (from lowest to highest):
      • High cards
      • One pair
      • Two pairs
      • Three of a kind
      • Straight
      • Flush
      • Four of a kind
      • Straight flush
      • Royal flush
    • Third-party handy scripts
    • Well commented codes
    • Many more...!

    DEMO

    Texas Hold'em HD (1280x720)

    Feedback Feedback regarding the design, gameplay, and performance is very welcome. Have fun!

    Every bug is now fixed in version 1.4.3

    Fixed the bug. Thanks so much to @HW. for pointing out a very critical bug in the system. Now fixed and everything works like a charm!

    Thanks to @HW. again for his ongoing support and bugs reporting!

    Thanks to @PeliStar and @Tthecreator for pointing out some bugs!


    Changes in 1.4.3
    • Fixed the "All-in" bug occurred by the "Check" action

    Changes in 1.4.2
    • Players cannot check in the pre-flop stage
    • Players now react to All-in and respond to it by going all-in, call if they have more money, and fold
    • You can now Bet 5, Bet 10, or Check if you are the first to play

    Changes in 1.4.1
    • Fixed "Straight" function now it supports "A-10-J-Q-K" sequence!

    Changes in 1.4.0

    • Fixed "Pairs", now the player with higher pair wins. for example pair of "Kings" is better than pair of "Queens"
    • Added "f_pairs_control" script that solves the pairs problem
    • Fixed "Error: Can not resize a grid with a dimension of <=0"
    • Fixed "f_fold(big_blind) index isn't found" error
    • Fixed "Next Turn" when the last player "All-in"
    • Fixed "ds_grid_delete_row" function
    • Re-wrote the "Showdown" function now it is accurate and shorter than the old one
    • Re-wrote AI, now players have new tactics to take and they won't unfold unnecessarily
    • Added "Poker Bluff", now players can bluff!
    • Optimized most of the scripts and codes and improved the game speed and evaluation
    • Commented and documented most of the scripts
    • Removed debugging scripts and codes to remove confusion
    • Removed unnecessary codes and functions
    • Cleaner codes
    The game rules are based on the following video


    Please write a review if you like the asset and tell me your suggestions for improvement. If you found an error in my code, please contact me.

    Check out my other assets!
     
    Last edited: Apr 7, 2018
    HW., Tthecreator and Roa like this.
  2. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    Version 1.4.3 is up now and everything is now fixed!

    Fixed the bug. Thanks so much to @HW. for pointing out a very critical bug in the system. Now fixed and everything works like a charm!

    Thanks to @HW. again for his ongoing support and bugs reporting!

    Thanks to @PeliStar and @Tthecreator for pointing out some bugs!

    Changes in 1.4.3
    • Fixed the "All-in" bug occurred by the "Check" action

    Changes in 1.4.2
    • Players cannot check in the pre-flop stage
    • Players now react to All-in and respond to it by going all-in, call if they have more money, and fold
    • You can now Bet 5, Bet 10, or Check if you are the first to play

    Changes in 1.4.1
    • Fixed "Straight" function now it supports "A-10-J-Q-K" sequence!

    Changes in 1.4.0
    • Fixed "Pairs", now the player with higher pair wins. for example pair of "Kings" is better than pair of "Queens"
    • Added "f_pairs_control" script that solves the pairs problem
    • Fixed "Error: Can not resize a grid with a dimension of <=0"
    • Fixed "f_fold(big_blind) index isn't found" error
    • Fixed "Next Turn" when the last player "All-in"
    • Fixed "ds_grid_delete_row" function
    • Re-wrote the "Showdown" function now it is accurate and shorter than the old one
    • Re-wrote AI, now players have new tactics to take and they won't unfold unnecessarily
    • Added "Poker Bluff", now players can bluff!
    • Optimized most of the scripts and codes and improved the game speed and evaluation
    • Commented and documented most of the scripts
    • Removed debugging scripts and codes to remove confusion
    • Removed unnecessary codes and functions
    • Cleaner and codes
    The game rules are based on the following video


    Today is the last day for the 75% discounts for this asset and the others. Don't miss your chance of getting this featured asset and my other assets :)
     
    Last edited: Mar 23, 2018
  3. cgPixel

    cgPixel Member

    Joined:
    Jun 30, 2016
    Posts:
    41
    Looks really great, keep up the good work!
    Any infos about the price?
     
    BiTrunade likes this.
  4. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    Thanks so much!

    This asset costs $19.99 and there might be a hefty discount on release ;)
     
  5. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    The asset will be released tomorrow on Feb. 18th and thus all the discounts will end!

    I also updated the project now every code is well commented and cleaned many scripts/codes.
     
    Last edited: Feb 17, 2018
  6. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    Texas Hold'em is up now with a 25% discount! GET IT NOW! http://bit.ly/GMTexasHoldem

    Please consider leaving a review and share it if you liked it :)
     
  7. Appsurd

    Appsurd Member

    Joined:
    Jun 20, 2016
    Posts:
    176
    Hi I decided to try out the example and found some, well eh, things that can be improved :)

    1. See Screenshot
    [​IMG]
    Three of the four CPU went bankrupt so maybe that's why this error?

    2. Maybe this is a tactic, but in the screenshot below, the CPU folds unnecessarily, right?
    [​IMG]
    This happens regularly, as well early game as late game. I once had 2 CPU's competing, and with the draw of the last card, the first CPU checked whereas the other literally had a chance to win, but directly folded instead. I wouldn't do this, but maybe you can explain the rule behind it :) Or perhaps change it in the engine.

    3. If the cards are dealt the first time, there is one round in which people may call or raise, but I thought everybody has to respond on a raise. In other words, when player A calls, player B raises, then player C, player D, player E and player A have to respond to the raise of player B before any new cards are dealt, right? That's at least what I know Texas Hold'em is.

    This causes strange issues, especially at the last round, where it sometimes gives another player the win. Consider the screenshot below.
    Player 3 and Player 4 have folded (which you can't see, that's a pity, perhaps you could show this?)
    I am sure I never folded, but raised on the last go (since I have a pair of Kings). Directly after I raised, the game ended (which I consider strange) and it says Player 2 won with a pair of Queens...


    [​IMG]
     
  8. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    @PeliStar Hey, ninja'd read the next post ;)
    [EDIT ABOVE ^]
    Here are some articles and videos I used to learn how to play Texas Hold'em.

    What is Texas Hold'em
    Texas hold 'em is a variation of the card game of poker. Two cards, known as the hole cards, are dealt face down to each player, and then five community cards are dealt face up in three stages.

    Here are some links and articles that I used to help you understand the game

    Here is a video that I am pretty sure you will find it useful


    Found it fun to play? Get it now before the 25% discount ends soon!
     
    Last edited: Feb 18, 2018
  9. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    Weird, like really weird, never happened to me, even when they go bankrupt, they should've got removed from the game for being bankrupt. Did they bet all their money or went to the next game with empty pockets?

    Depending on their cards, they play. I am pretty sure the CPU that folded didn't have a chance of winning. Although, I am pretty sure I should've stopped 2 last players from folding, but believe me when I tell you, the second player didn't have a chances, either a pair or nothing ;)

    I am not a Texas Hold'em expert but I am sure there is no rule like that (?) The only Texas Hold'em I played was a mini-game in Gun (an Xbox original game) on my Xbox.


    I never seen them respond to a raise, or maybe I didn't pay attention to the details. I will check and update it as soon as possible once I confirm a bug.

    Hmm ... It might be a misunderstanding, how do you see this happening? just because you had a king and he had a queen doesn't mean you win (or at least that I thought)

    Take a look at his cards: Q, J = 12 + 11 = 23
    whereas your cards: K, 3 = 13 + 3 = 16
    23 > 16
    which lead to his winning. I also am not sure about this but please correct me if I am wrong, I am willing to update it as soon as possible :)

    Thanks so much for your helpful report!

    [EDIT]

    Alright, MAYBE these are old DEMOS, lemme compile again and see!

    [EDIT AGAIN]
    Here is a new DEMO https://www.games.bitrunade.com/texasholdem/TexasHoldemNEW.exe
     
    Last edited: Feb 18, 2018
  10. Appsurd

    Appsurd Member

    Joined:
    Jun 20, 2016
    Posts:
    176
    Yeah, all three of them bet all their money (all-in). The next game should start, but didn't and instead threw up this error.

    Well, perhaps I might be wrong about the 2 player case then. Will test it a little more later.

    Consider this section on Wikipedia: https://en.wikipedia.org/wiki/Texas_hold_'em#Sample_hand
    At the flop phase, it is clear that the round continues until all players who are still in have the same amount of money laid on the board.

    The player always uses the best five cards at his disposal, so your calculation can't be right :(
    Moreover, I'm pretty sure that a pair of kings ALWAYS wins from a pair of queens, if that's the highest both players have. Can't provide you with a link, sorry :(

    Are you sure these were old or is it just checking to be sure? Anyway, I'll have a look at it :)

    You're welcome! You did a great job already, since the hard part (the AI) seems to work rather nicely. Sometimes the AI is a little too enthousiastic (I think) such as going all-in on a possible straight for which he has about 1/4 chance to happen, but that's maybe just me ;)

    EDIT

    Your new version still acts strangely, look at the following start of the game.
    [​IMG]
    Player I is SB and player II is BB so those are fine. But Player 3 has three options: either call (which is putting in 10), raise (putting in >10) or fold (put in nothing and be removed from the game). Checking is not an option...
     
  11. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    Rare error. I don't know what happened but it should've removed the players. Anyhow, noted :)

    I should know, it is a secret they know ;)

    Thanks for providing the link! I should've studied more about the game but instead focused on making it. Pardon me for those errors but believe when I tell this is the hardest asset that I've ever played and created :( (noted)

    I always doubted my scripts. Thanks for confirming the error. Again, noted :)

    Compiled it from the newest version of the asset (1.2.0) hoping to see a change.

    Thanks! yes, the AI was pretty frustrating to create and track every error in there. 145 lines of every possible outcome and how they should react. Please bare in mind that I won't stop updating this asset until everyone and I are satisfied with the final result (that means more work o_O )

    Okay now I am really lost. If the players already bet, then when is ever going to be a check? I am pretty sure that there is no betting has occured except for the blinds, I am gonna read it again but I am pretty sure that checking is for the under-the-gun and follows.

    Yup, I will fix those errors as soon as possible!

    [EDIT]

    Thanks so much for @Tthecreator for pointing out some similar errors. I got a list of bugs and now the idea is finally clear. I hopefully can fix them and ship a new version soon :)

    Sorry guys for this unfortunate event.
     
    Last edited: Feb 18, 2018
  12. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    %75 OFF till Saint Patrick's Day in this March 17! Don't pinch too much and drink carefully!
     
  13. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
  14. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    New version! fixed reported bugs and fixed some other bugs!

    Changes in 1.3.0

    • Fixed "Error: Can not resize a grid with a dimension of <=0"
    • Fixed "f_fold(big_blind) index isn't found" error
    • Cleaned some codes
    Get it now before the discount ends. I am very confident that this will be the biggest discount for this asset and I assure this is the last 75% off. 7 days left, your call!
     
  15. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    Last edited: Mar 13, 2018
  16. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
  17. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    Version 1.4.2 is up now and everything is now fixed!

    Fixed the bug. Thanks so much to @HW. for pointing out a very critical bug in the system. Now fixed and everything works like a charm!

    Thanks to @HW. again for his ongoing support and bugs reporting!

    Thanks to @PeliStar and @Tthecreator for pointing out some bugs!

    Changes in 1.4.2
    • Players cannot check in the pre-flop stage
    • Players now react to All-in and respond to it by going all-in, call if they have more money, and fold
    • You can now Bet 5, Bet 10, or Check if you are the first to play

    Changes in 1.4.1
    • Fixed "Straight" function now it supports "A-10-J-Q-K" sequence!

    Changes in 1.4.0
    • Fixed "Pairs", now the player with higher pair wins. for example pair of "Kings" is better than pair of "Queens"
    • Added "f_pairs_control" script that solves the pairs problem
    • Fixed "Error: Can not resize a grid with a dimension of <=0"
    • Fixed "f_fold(big_blind) index isn't found" error
    • Fixed "Next Turn" when the last player "All-in"
    • Fixed "ds_grid_delete_row" function
    • Re-wrote the "Showdown" function now it is accurate and shorter than the old one
    • Re-wrote AI, now players have new tactics to take and they won't unfold unnecessarily
    • Added "Poker Bluff", now players can bluff!
    • Optimized most of the scripts and codes and improved the game speed and evaluation
    • Commented and documented most of the scripts
    • Removed debugging scripts and codes to remove confusion
    • Removed unnecessary codes and functions
    • Cleaner and codes
    The game rules are based on the following video


    Today is the last day for the 75% discounts for this asset and the others. Don't miss your chance of getting this featured asset and my other assets :)
     
    Last edited: Mar 16, 2018
    HW. and Tthecreator like this.
  18. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    Fixed some little bugs in version 1.4.3 and applied a 40% discount! Grab the featured and the only Texas Hold 'em asset and expand your mobile/html5 games portfolio!

    Changes in 1.4.3
    • Fixed the "All-in" bug occurred by the "Check" action
     
  19. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    For a limited time only! Discount will end after the release* of my upcoming asset, Hearts. Make sure you grab it before the discount ends!

    * The release will probably be tomorrow so hurry up!
     
  20. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    50% off all my assets! Grab 'em!
     
  21. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    Like this asset? You can grab it with 4 others and SAVE 60% / $45 with the Casino Bundle!

    Casino Bundle is a $75 worth of card games assets for $29.99 created by BiTrunade that includes the featured Texas Hold'em and Blackjack HD, as well as the latest advanced asset Hearts.
     
  22. BiTrunade

    BiTrunade Member

    Joined:
    Sep 11, 2017
    Posts:
    192
    50% OFF ALL MY CARD GAMES ASSETS!
    Learn how to use data structures, build your AI, and improve your overall GameMaker skills with advanced card games assets! http://bit.ly/BTNDMP
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice