User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Web Developers' Lounge section within the Web Development category of DaniWeb, a massive community of 397,852 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,328 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Web Developers' Lounge advertiser:
Views: 603 | Replies: 0
Reply
Join Date: Nov 2007
Posts: 5
Reputation: Lycaon is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
Lycaon Lycaon is offline Offline
Newbie Poster

'MUD' like game in a browser...

  #1  
Nov 30th, 2007
Well, before I trot of to get some more sleep (3 afterparties in 3 days, ergh...), I figured I'd ask about this little issue regarding design I've been having....

Basically, I'm trying to do one of those "MUD" games over a website - the reasons being TELNET is boring, and I've already layed down a wad of cash for webspace I'm not yet using.

Now, I've seen this kind of thing before -- and have a pretty reasonable idea of what would be involved, but, well, some more opinions would be nice

I'm thinking:
  • The user logs on, and click the big, shiny "Play Now!" button
  • They are then directed to a page where their players' stats, an output and input window are visible.
  • When they enter a command, I do some fancy AJAX/Javascript work and send a request to a server page.
  • This page then updates everything in the vicinity of the calling player and attempts to process their command.
  • The response is then sent back to the client, where formatting is done.
  • Rinse, repeat.

My main concern -- apart from the stability of the above -- is speed. Will I be able to get crap going fast enough merely using PHP & Javascript? I can imagine running a few connections fast enough, but would it be enough for an entire game?

I guess I could go CGI Scripting instead of PHP if that's possible with AJAX. Then again, the server I'm on only supports Perl, which I've never really liked. Unless you can do CGI with C++?

Anyway, discuss, abuse me, etc, etc - thanks for reading!

-Lycaon.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Web Developers' Lounge Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Web Developers' Lounge Forum

All times are GMT -4. The time now is 8:19 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC