Topic awaiting preservation: would a mud be possible? |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 06-17-2005 22:14
I know I just made a post about generating a hex map but this just popped into my head. If I were to use javascript and php would a web based mud be possible? I would have the actual game engine written in php and use XMLHttpRequest and javascript to get the input/output. I am currently working on a interactive fiction engine in javascript just for fun and thought it would be fun if a mud would at all be possible. After seeing the chat boxes that are on so my web pages now and looking at weboggle, I would think it would be possible. Probably not the easiest (or smartest) way to do it, but it would be a fun experiment. So could it be made to work or is my understanding completely off? |
Bipolar (III) Inmate From: Sweden |
posted 06-17-2005 23:08
I'd say it's possible. |
Nervous Wreck (II) Inmate From: |
posted 06-18-2005 00:42
TwoD, |
Bipolar (III) Inmate From: Sweden |
posted 06-18-2005 02:25
I THINK you could use the xmlhttpwhatever object to request info about the current room say every second, if you can keep the call and respons short there should be no problems. If there's a new charry in the room the respons would say so. Same thing if someone leaves the room. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-18-2005 07:38
Yeah, you can basically do anything you want with HTTP (including a MUD) as long as it works under the restriction that the server can't tell the client anything except when the client asks for it. |