Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
I don't know the rules of Texas Hold'em but to the person taking this request, I do have a Playing Card Game Datastructure to make your life easier scripting this it is floating around in the Submitted Scripts Section.