Re: PHP P O K E R...... and JAVA (convert)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/27/07, Ryan A <genphp@xxxxxxxxx> wrote:
Hey all!

Was looking at trying some stuff with php and p oker (texas hold'em).

After searching the net for some clues as to how i can do this, i came accross the class on the php classes site (but that codes to bruteforce-ish) so continued looking and came accross some valuable suggestions on how to do this... just as i was about to start i found a dude who wrote something like this in Java... which works pretty good according to him ("tried and well tested" to quote him)

Can someone with a java background mind testing his class? and then hopefully help me convert his script to php?

The address to his java class:

http://www.greenbridge.net/index.php/p_handranker.php

What do you think?

Comments, suggestions and links are most welcome!

Cheers!
R

Well, first of all, I tried to compile the Java code you gave on my
linux box with JDK-1.5.0_09, and it gives 3 errors...
So, I can't even test his class ;)

Also, you need to keep in mind that Java runs on the client side,
while PHP runs on server side. Meaning that you will end up with
either a page that refreshes for each card that comes up on the table,
or updating with use of AJAX.

The logic used in the Java code can be easily converted to PHP, that's
not a big deal, but you'll need to recreate the interface...

Tijnema


--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux