Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am looking to create a multiplayer browser based game, similar to tribal wars and such, and i'm trying to think of better ways of handling the server, for example when troops and buildings are completed and the landing of troop movements

share|improve this question

closed as not constructive by Byte56, Trevor Powell, Josh Petrie, Noctrine Nov 2 '12 at 20:53

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
How are you storing your data? Does it live in ram, a database, or what? –  Seth Battin Nov 1 '12 at 4:07
1  
What's your actual question? What problem specifically are you trying to solve? Your question is pretty broad and vague as it is. –  Byte56 Nov 1 '12 at 16:18
    
It will be stored in a database –  Craig Weston Nov 1 '12 at 16:42
1  
Ways which are better than what exactly? What did you try and in what regard did it fail to fulfill your requirements? –  Philipp Nov 1 '12 at 19:55

1 Answer 1

Tribal Wars is a browser-based, massive multiplayer online real time strategy game, set in the Middle Ages.

Now Tribal Wars is a browser based game and was released in 2003 as a text based game.

Browser-based games usually rely on some kind of server-side code, such as Perl, PHP, Ruby, Python, or Java; though some will use technologies like Flash, ActiveX, and Java applets to store data on the client's computer.

Unlike a stand-alone client or video game, being confined to a browser limits to some degree the extent to which 3-D rendering can be supported.

The following resources may help you

Basic Guideline

HTML5

Flash

Java

Community Resources

EDIT :

better ways of handling the server, for example when troops and buildings are completed and the landing of troop movements

You should have persistent connection with server as every connection takes time for extra resource, Point-to-point connection, Low latency for better interaction.

It varies from platform to platform. For example, for browser game tribal wars used the followings

  • Server End Code # PHP, Some Java
  • Server # Amazon: EC2, CloudFront, S3, Hadoop/Elastic Map Reduce, Hive, some SQS, some SimpleDB
  • Load Balancing # HAProxy
  • Sharded, Blob Storage # MySQL
  • Point-to-point connectivity # YAMI4
  • Low latency # YAMI4
share|improve this answer
    
Everything on client side i know how to do, its just the best way to get the server to run the events such as building completed, adding troops, attacks, and so forth –  Craig Weston Nov 1 '12 at 11:35
    
@CraigWeston, it depends on which platform do you want to use. It varies platform to platform. –  Md. Mahbubur R. Aaman Nov 1 '12 at 12:40
    
@CraigWeston, I have edited my answer regarding "the best way to get the server to run the events such as building completed, adding troops, attacks, and so forth". Thanks for comment. :) –  Md. Mahbubur R. Aaman Nov 1 '12 at 12:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.