-
@Conceptgame Were you able to come up with anything? I'm still attempting a way to figure out how to rank the hands. I got high card working perfectly using counters, except once I moved on to pairs, i found this to be extremely inefficient. I've attempted to compare the cards via list, and looked into doing so by array. But not where I should be, most of the problems probably stemming because I'm a MMF2 novice.
My cousin and I got a working hand detector in Java up pretty quickly, but I'm not finding a good way to do this in MMF2.
-
1 Attachment(s)
Yes, I will post something. Indeed, it will be a lot faster with classical programmation.
EDIT: here a first version to get the whole idea. It is not complete (when 2 players have the same combinations for example) but I think it is enough to understand the advantage of bit mask compared to the whole thing with only card value in alterable value.
It can be complete by using bit mask once again but I am too tired now and it is time to go to bed.
Attachment 15257
-
Sweet, I'm going to have to take some time and sort this out. I see my top priority now will be learning arrays. I see that you've accomplished more in a few lines that i did with 100 lines of code. Thank you so much for the direction Conceptgame. It's much appreciated!
-
Woah, that first example is already awesome. It's about time someone shared a decent poker game engine, very generous :)
-
Conceptgame, VERY GOOD!!! I am your fan!