Looking at your code, and your description, I am a bit lost. (1) The rules for omaha suggest that when working with nine cards, you're really working with a group of five and a group of four, and that you must pick 3 cards from the group of five and 2 cards from the group of four. But I did not see this implemented in the code, and I did not see this restriction lifted in your commentary.
(2) Looking at your bestLow implementation, I do not understand its structure. I see a _1 in the left box and I don't know what that represents. I look at your right box and take it apart as suit index, card kind, and that looks correct for the cards in that example: 14|0 2+"1]0 13#:25 41 16 18 6 1 0 3 4 1 5 1 7 0 8 But I don't understand that left box. And, between these two issues, and the wide variety of possibilities, I can't see further into where you might want to be. What am I missing? Thanks, -- Raul On Sun, May 9, 2021 at 3:43 PM Devon McCormick <[email protected]> wrote: > > I'm working on some code to work with low poker hands (as in a game like > Omaha or lowball). Since not everyone is familiar with this domain, I've > put together a wiki page outlining what this means and the code I have so > far: https://code.jsoftware.com/wiki/User:Devon_McCormick/Poker/Lowball . > > This may be part of the NYCJUG meeting ( > https://www.meetup.com/J-Dynamic-Functional-Programming/) in a few days, so > any suggestions are welcome. > > Thanks! > > -- > > Devon McCormick, CFA > > Quantitative Consultant > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
