Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Making an Interactive Game on a website (Texas Hold'em)

by gumpu (Friar)
on Aug 14, 2004 at 07:18 UTC ( #382914=note: print w/replies, xml ) Need Help??

in reply to Making an Interactive Game on a website (Texas Hold'em)

Instead of using a webserver you can also consider writing your own little client-server system. This might be easier to start with, and a nice way to learn about it.

All players get a client program that communicates via a socket to a sever program. Sockets are pretty easy to program (for examples see the perl cook book). The server program keeps track of the score and the cards. The client program displays everything (you could use PerlTk for that) and accepts the moves and bets. The advantage of writing it yourself is that you can make it as interactive as you like as you control the communication protocol.

A drawback would be that your friend have to install Perl too... but then again that is not a real drawback but rather a chance to learn a very enjoyable language.

Have Fun

  • Comment on Re: Making an Interactive Game on a website (Texas Hold'em)

Replies are listed 'Best First'.
Re^2: Making an Interactive Game on a website (Texas Hold'em)
by gloryhack (Deacon) on Aug 15, 2004 at 02:44 UTC
    And: If you want to get a server up and running quickly, have a look at Netserver::Generic. It'd leave you lots of time to play with the client code.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://382914]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2022-12-03 22:02 GMT
Find Nodes?
    Voting Booth?

    No recent polls found