Hello everybody.
I’m curently in the process of sharpenning my poker… oups… my ActionScript skills. I’m actually reading a book about Flash Communication server. And while studying I tought I would learn more if I would actually programm something, usefull / fun / whatever.
So. I picked to develop a poker game. Problem is that my actual programming skills are kind of / sort of limited :P. I know actionScript well enough, but, mostly, I encounter problems with the algorithms and stuff.
I started working on the client side first, made a flash that shows you the cards, and sorts them, first by their value, and then by their color, but soon I discovered that I’m not able to find a way to decide based on 2 players hand wich one is the winner . :-/
So problems arised, and I didn’t even got to the server side.
If any of you kind folks would be willing to throw in some ideeas for the winner decision algorithm, I would very much appreciate that.
Pseudo code would do just fine, as well as some refference. I tried searching the net for some tutorials but I haven’t found anything illuminating so far.