Randwulf Posted March 1, 2018 Posted March 1, 2018 To save myself a "search" nightmare, I'm trying to wrap my head around 3D arrays. Example: In "No Limit Hold'em", if I only play kings "KK" and queens "QQ" and I only play them from the positions of the "Button" or "Blinds" and do one thing if it's raised ahead or another if not raised. I know that this example would be simple as a 2D array but if I'm dealing with 77 possible hands in 9 possible positions and 6 possible conditions then I'm dealing with almost 700 data lines. Lastly, if I have a variables to represent the hand like $hand = "QQ" and $position = "Button" and $ahead = "Raised", could the 3D array simplify my search, or should I just stick to the 2D array ?? Thank you in advance for any thoughts...
Jfish Posted March 1, 2018 Posted March 1, 2018 (edited) There is a lot wrapped up in that question ... but you don't need all that data to create poker logic. <snip> Edited March 1, 2018 by JLogan3o13 Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt
Moderators JLogan3o13 Posted March 1, 2018 Moderators Posted March 1, 2018 (edited) @Randwulf had you submitted to the "search" nightmare you might have come across our forum rules, especially the part on game automation, before posting. Please read them now before posting again - and please let's know go down the "but it was just an example path" To others <snarkiness removed> Edited March 1, 2018 by JLogan3o13 Earthshine 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Recommended Posts