I've had some PHP script ideas bouncing around in my head for quite some time. They're leaving little dents on the inside of my skull and it's starting to irritate me. I've been trying to ignore the little pests but they just won't go away.
One of my ideas centers on the text adventures I used to amuse myself with when I had a Commodore 64 and a Commodore 128 (C-64/C-128). They were pure text adventures in that you had to be very specific and very correct in your spelling to advance through the games. Otherwise you'd just keep getting error messages that the computer didn't understand your input. There were no pictures or graphics of any kind. The visuals were all in your own imagination.
It occurred to me that this type of text adventure could be translated to a website but would require something besides pure HTML. Since I'm familiar with PHP, I know it could be used to do exactly what I want it to do. The stumbling block here is not the scripting but the interface. Sure I could use variables and pass data from page to page and simulate what a terminal screen would do, but it's not very friendly at all. It would be best a single page would just update on the fly and I'm thinking that Javascript would be the best way to do that. I've heard of AJAX and I don't know that much about it, but I do know there are plenty of websites using it now.
I'm investigating ways to save the different states in the game. I don't like using sessions, session cookies, or browser cookies to save states but one of these methods may be required. I would prefer to save everything on the server, but it might require too many variables to be passed through a browser query string.
Since I'm looking to convert something that's adult-oriented and still fun to play, I'm looking at "Farmer's Daughter" as a starting point. I don't know exactly when it was written, but it was sometime in the 1980's. It's definitely raunchy enough to spark a little interest.
If anyone reading this has any recommendations, feel free to comment. In the meantime, I'll be doing research. Who knows? Maybe I'll have something cooked up real soon.



