943,866 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 500
  • PHP RSS
Dec 2nd, 2008
0

PHP Gaming basics

Expand Post »
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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
JRiga is offline Offline
2 posts
since Dec 2008
Dec 3rd, 2008
0

Re: PHP Gaming basics

Store the data in a database, get the clients to refresh/check the database at set intervals..
Reputation Points: 96
Solved Threads: 124
Master Poster
Will Gresham is offline Offline
728 posts
since May 2008
Dec 3rd, 2008
0

Re: PHP Gaming basics

Thanks for your advice. That's exactly the direction I needed.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
JRiga is offline Offline
2 posts
since Dec 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Category hierarchy problem............
Next Thread in PHP Forum Timeline: generating random id and save it into db





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC