Forum Moderators: coopster

Message Too Old, No Replies

Poker game script

         

hoot33

7:26 am on Dec 2, 2006 (gmt 0)

10+ Year Member



I will be making a php based texas hold em game script shortly and I would just like to know what everyone thinks the best way to go about it would be.

Obviously I will need databases, but how many, and where will I store the hands being played? Im sure it will come to me in the morning, just trying to get a jump on things right now.

thanks all
hoot

eelixduppy

6:46 pm on Dec 2, 2006 (gmt 0)



Welcome to WebmasterWorld!

This is going to be difficult.

I'm assuming this is all text based? What are your ideas as far how everything is going to work?

Also, is this something that is going to be multiplayer?

I'm thinking that you aren't going to be able to do this with PHP...or PHP alone, I should say.

hoot33

12:52 am on Dec 3, 2006 (gmt 0)

10+ Year Member



Im fairly positive php is all I need, it will be text based for the most part, but it will not be real time. trying not to reveal to much of my idea.

Thanks all
Hoot

hoot33

2:07 am on Dec 4, 2006 (gmt 0)

10+ Year Member



Just a quick question, how can I match the cards in the users hand to an actual poker hand? so, if he had 4spades 5diamonds 6clubs 7clubs 8spades how will I be able to determine that he has a straight?

Hoot

eelixduppy

8:53 pm on Dec 4, 2006 (gmt 0)



How are your storing the representation of the cards with their values and suits?

Knowing this would be the first step to compare them.