PHP Gaming basics

Reply

Join Date: Dec 2008
Posts: 2
Reputation: JRiga is an unknown quantity at this point 
Solved Threads: 0
JRiga JRiga is offline Offline
Newbie Poster

PHP Gaming basics

 
0
  #1
Dec 2nd, 2008
I'm trying to develop a game that can be played by 2 players on different clients, and I can't figure out the mechanism how the server can communicate to both sites for the same game. A move on one browser gets communicated to the server, and the server must reply to both players. I understand PHP somewhat, but need help. I have developed the game on the browser using Javascript, which can be seen at www.dynodice.com . I'm a professional programmer with 40 years experience, but I'm a bit weak in this kind of gaming. Any advice?
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 524
Reputation: Will Gresham is on a distinguished road 
Solved Threads: 86
Sponsor
Will Gresham's Avatar
Will Gresham Will Gresham is offline Offline
Posting Pro

Re: PHP Gaming basics

 
0
  #2
Dec 3rd, 2008
Store the data in a database, get the clients to refresh/check the database at set intervals..
AJAX is not a programming language, scripting language or any other sort of language.
It is acheived by using JavaScript http functions.
So, AJAX = JavaScript.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 2
Reputation: JRiga is an unknown quantity at this point 
Solved Threads: 0
JRiga JRiga is offline Offline
Newbie Poster

Re: PHP Gaming basics

 
0
  #3
Dec 3rd, 2008
Thanks for your advice. That's exactly the direction I needed.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC