30 Game Scripts You Can Write in PHP | Linux Today

30 Game Scripts You Can Write in PHP

Written By
Web Webster
Web Webster
Nov 21, 2008

[ 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

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.