I am starting to code a browser game, I have a rudimentary chat set up, and would like to start creating the battle engine, I have a general idea of how I want it to play out, but I don't know where I should do the calculations,

  • SQL Server

I don't post JavaScript as an option because I don't want the user to be able to alter/hack the game that way.

What are the benefits and drawbacks of either method of coding the Battle Engine?


closed as off-topic by Anko, MichaelHouse Dec 28 '14 at 6:09

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Anko, MichaelHouse
If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ What tech to use is a rather personal question. What other requirements do you have? Also, ASP.NET doesn't run in a browser like JavaScript does—they're pretty much totally orthogonal unless you consider Node.js. Really confused by that. \$\endgroup\$ – Anko Dec 28 '14 at 3:46
  • \$\begingroup\$ asp.net runs server side code, which is not Client side, and cannot be altered by client side, but a form submission can be run through code behind. I am not really sure why you would be Confused @Anko \$\endgroup\$ – Malachi Dec 28 '14 at 4:01
  • \$\begingroup\$ The battle mechanics would take place in the code behind and then the results recorded in SQL Tables accordingly along with the Results returned in the response to the browser. \$\endgroup\$ – Malachi Dec 28 '14 at 4:02

Browse other questions tagged or ask your own question.