Jump to content

What Languages to use for Online Text Based MMO?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Skaught

Skaught

    Newbie

  • Members
  • Pip
  • 1 posts
I am in the process of working on an MMORPG. It will require running simulations of 'battles' twice a week and posting and storing the results, experience gained, and giving rewards to users. I also want the website to have a nice design that is easy to navigate.


I am wondering what the best languages to use for this would be.

I have experience in C++ as well as Pascal (thanks to my teacher teaching 4 semesters in it, haha). I also know some HTML/CSS/JAVASCRIPT/PHP and MySQL.

I'm open to learning new languages that would make the process simpler. I basically have all the pseudocode typed up, I just need to port it over to language and get everything to run smoothly with the database and website.


Any input would be greatly appreciated!

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
PHP (possibly utilizing its object oriented class support to aid in game programming) and MySQL to store result data should be easily sufficient for any web based game like this. PHP is easily embedded on to HTML and as such could utilize it with Javascript with no issue (AJAX for example if you so wish to implement that). You could probably serialize each used game class and store it in the database as a saving method for added ease as well, or simply store everything sorted in the database.

Really the only other (Non-IIS) languages I can think of are other CGI (i.e. Ruby, Perl or Python) although those often have less support on shared servers and are less familiar to C (PHP borrows a lot from C)
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
liamzebedee

liamzebedee

    Programmer

  • Members
  • PipPipPipPip
  • 129 posts
I think you should use AJAX to update data, in the background. It should POST to a PHP page, with its variables/data (encrypted of course) which should then interface with a database of some sort. When the data is returned the page shouldn't be refreshed but using AJAX, you should update the page seamlessly and smoothly without the user knowing. You should also only update the page as often as it needs to as well.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users