teamatomic Posted January 11, 2010 Share Posted January 11, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/188006-multi-user-card-game/ Share on other sites More sharing options...
Jezza Posted January 11, 2010 Share Posted January 11, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/188006-multi-user-card-game/#findComment-992605 Share on other sites More sharing options...
teamatomic Posted January 12, 2010 Author Share Posted January 12, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/188006-multi-user-card-game/#findComment-993236 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.