Jump to content

Recommended Posts

I'm writing a batch of games and such. Lottery is finished, Poker,blackjack,etc are next. They will be multi-user. I've got the multi-deck shoe and dealing table done and other parts rough coded. What I would like from the gang is:

 

From someone(s) who did a multi-player something. I dont want code just a linear view of how you handled users in and out of a continuing game.

 

Thanks

Teamatomic

Link to comment
https://forums.phpfreaks.com/topic/188006-multi-user-card-game/
Share on other sites

I've never worked in that area of PHP, but i think sessions come in handy when handling people joining and leaving, if there are 8 seats have $_SESSION[1] and onwards, change the session time to less so if someone quits or leaves unexpectedly, it will drop them automatically in a certain amount of time.

 

And also to make it live are you using ajax or what's the deal? hehe

Link to comment
https://forums.phpfreaks.com/topic/188006-multi-user-card-game/#findComment-992605
Share on other sites

Yes, I do use sessions but there are limitations with them.

 

As to AJAX, I've been playing with and extending a framework called dutchpipe

http://dutchpipe.org

It does not seem to be supported or under development any longer but its OS and if it works out maybe I'll call mine a port and see if I can generate any interest in it.

 

 

HTH

Teamatomic

Link to comment
https://forums.phpfreaks.com/topic/188006-multi-user-card-game/#findComment-993236
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.