Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   PHP (http://www.programmingforums.org/forum29.html)
-   -   Text Based Game (http://www.programmingforums.org/showthread.php?t=13264)

demon101 Jun 1st, 2007 4:22 PM

Text Based Game
 
i am wanting to make my own little text based game in php and i was wanting to see if anyone has ever done it before.

big_k105 Jun 1st, 2007 4:38 PM

Moved to PHP Forum

Booooze Jun 1st, 2007 5:27 PM

I haven't, I was going to mess with it for a bit, but decided not too. It's really not hard though, it's basicly just taking user data, manipulating it here and there, and reading it again. Just try some simple database operations first, and you should be on easy street. You'll also (most likely) need sessions. Then other than the basic PHP skills, it's all planning.

mrynit Jun 1st, 2007 6:12 PM

would you have to refresh the screen every time the used made a "move". seems like that could be a lot of work. I have seen java applet and flash games before but not PHP.

Styx Jun 1st, 2007 10:03 PM

Kingdom of Loathing is a PHP-based game. It works on click-based actions.

Kings of Chaos is another one.

Just go to google and look for php-based games.

Komodo Jul 11th, 2007 8:03 PM

excuse me for bumping the dinosaur... but sourceforge has quite a few projects that would help you out. Legend of the Green Dragon is quite a popular game. There are LOTS of browser based games, some of them are actually fun. I was working on one a couple years ago... but, I put it on the back burner until I have it planned it out better

DaWei Jul 11th, 2007 9:47 PM

See this thread.

mattireland Jul 12th, 2007 3:05 PM

Yes, loads of make games of all kinds in PHP. There is this really good site which gives you the game and then all the PHP code - Google it.

The above link is also quite relevant only it may take up a bit too much of your time just to find a PHP text-based game.

Connect 4 is often done in PHP as is hangman if you want generic examples...

Eon Jan 6th, 2008 4:46 PM

Re: Text Based Game
 
well its a lot of work 2 do u have 2 plan how it is going 2 like and u have 2 code every feature of it but if ur a bit lazy coding u just buy the features codes the hardest part is 2 code the admin panel....


All times are GMT -5. The time now is 2:39 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC