Procedural Programming- The Secret Behind Spore
imashoe writes "Ever wonder how Spore works under the hood? The game seems to be insanely huge and how is it that there can be an infinite amount of different creates created in the game? The answer is Procedural Programming."
use a functional programming language. prove mathematically that your functions are correct. and technically, it should be fairly easy to write compilers that automatically thread the program due to the nature functions are written in a functional programming language. i encourage everyone, especially the writer of this article, to read up on it. Haskell (a programming language) is a good place to start.
*Functional* programming sometimes seems like magic. Maybe that's what they are talking about.n g
Its not new but still cool.
http://en.wikipedia.org/wiki/Functional_programmi
They meant procedural content generation, like L systems, used to make believable looking plants that grow and change over time.
It's all about repeated iteration over a particular type of finite automata with a particular string.. Easily done if you've taken your 3xx/4xx graphics an theory classes, but perhaps past what most technology reporters are capable of.
So, to summarize:
* C is an example of procedural programming.
* Haskell is an example of functional programming.
* L-systems are an example of procedural content generation (content generated by a procedure, in a deterministic fashion).
--
Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.