[DM-dev] dungeonmaker as a web application :)
Brought to you by:
acdalton,
henningsen
From: Stephan B. <ste...@ei...> - 2001-08-06 10:57:41
|
I've was toying around with some ideas and I think I've decided to make=20 a web-runnable version of dungeonmaker. Since writing a CGI app in C++=20 isn't something that sounds exciting, I'll do it in PHP and run=20 dungeonmaker from there, passing it whatever arguments the user select.=20 I can imagine an editor where the user can enter values for room=20 locations, etc. Then we simply run the dungeonmaker and print the=20 output to the screen, instead of to a file. Since I could pass data via=20 PHP in almost exactly the same manner as via a config file, this will=20 be a good testing ground for that stuff, too. I don't guess it would be too difficult to give the user some=20 pre-defined options, like: 1) Big dungeon with lots of halls. 2) Small dungeon with one center room. etc... Just have a dir which holds templates and show the user the name of=20 each template. Actually... DM doesn't really care where the dungeon grid comes from,=20 so I could even generate that in PHP using user-given parameters, then=20 feed it to DM when I call it (by saving it to a temp file, or sending=20 it in via stdin). Hmmm.... ----- stephan Generic Universal Computer Guy st...@ei... - http://www.einsurance.de Office: +49 (89) 552 92 862 Handy: +49 (179) 211 97 67 Student: "Master, you must teach me the way of liberation!" Master: "Tell me who it is that binds you." Student: "No one binds me!" Master: "Then why do you seek liberation?" |