|
|
TheBroth.com - The Global Mosaic : Ajax powered Multiplayer Fun Game
|
04/27/2006, By Ajax Impact News
|
TheBroth.com is The Global Mosaic, an massively multiplayer Ajax Powered fun game. It is made is made of 1,000 colorful tiles that are shared by players across the world.
TheBroth is a multiplayer, near real-time application, Here players synchronize with each other and with the system, so that each player sees the exact same thing in their browser.
Markus Weichselbaum, TheBroth.com's creator writes that "TheBroth belongs to a new breed of novel web 2.0 internet applications. It is massively multiplayer and real time, which in itself is cool and a lot of fun. Artists may view and use TheBroth as a global collaborative art project, lunchtimers may play with it just for fun, and tech enthusiasts may get a kick out of the fun application of modern internet technologies such as Ajax that bring TheBroth experience to everyone with an internet connection,"
How it works
TheBroth uses a time-dependent implementation of Ajax to give the appearance of being real-time. Each browser client is scheduled to interact with the server every second to:
Transfer new position data regarding tiles the player has moved; and
Receive new position data for tiles other players have moved.
This means, we only use a single XmlHttpRequest object. This request to the server invokes a server-side script (we call it the “engine“) that processes the incoming data, and returns whatever has changed in the server’s database tables back to the client.
This request returns asynchronously. Upon return of the new data, the client now updates its own data structures, namely the tile positions and the information about the room occupants, ie the players. Then another request is being sent, including data about of what the player has moved in the meantime, and so on and so on.
Drag-and-drop is one of the most important components of TheBroth. Read this tutorial, that describes a simple method for implementing drag-and-drop functionality in a web page using JavaScript.
Explore The Broth Now....
|
Rate this Ajax News
Rating: 10.0 out of 4 votes cast
| |
|
|
| |
|
|
|
|
|
|
|
|