30 Game Scripts You Can Write in PHP
Nov 21, 2008, 04:03 (0 Talkback[s])
(Other stories by Duane O'Brien)
[ Thanks to jmalasko for this link.
]
"As both a game master/storyteller and a developer, I
frequently find myself writing little utilities and scripts to help
me when running, planning, and playing games.
"Sometimes I need a quick idea. Other times, I just need a whole
pile of names for Non-Player Characters (NPCs). Occasionally, I
need to geek out on numbers, work out some odds, or integrate some
word puzzles into a game. Many of these tasks become more
manageable with a little bit of script work ahead of time.
"This article will explore 10 fundamental scripts that can be
used in various types of games. The code archive contains the full
source for each script we will discuss, and you can see the scripts
in action at chaoticneutral. We will blaze through these scripts
pretty quickly. The topic of finding a host or setting up a server
will not be covered. There are many Web hosting companies that
offer PHP, and the XAMPP installer is easy to use if you want to
set up your own. We won't spend a lot of time talking about PHP
best practices or game design techniques. These scripts are
designed to be simple to understand, simple to use, and quick to
pick up."
Complete Story
Related Stories:
- PHP V5 and Object-Oriented Programming(Nov 15, 2008)
- Upcoming PHP 5.3 Beefs up Security(Oct 08, 2008)
- Installing memcached And The PHP5 memcache Module On Debian Etch (Apache2)(Sep 13, 2008)
- Generating Reports and Statistics in PHP(Jun 26, 2008)
- Secure Internet File-Sharing with PHP, MySQL, and JavaScript(May 19, 2008)
- The Future of PHP(May 10, 2008)
- Vamp the Linux LAMP Through PHP Part 2(Oct 02, 2007)
- Integrating eAccelerator Into PHP5 (Debian Etch)(Sep 27, 2007)