Code

Larger Projects

Dream RPG Engine (local download only mirror)
The beginnings of a retro CRPG styled MUD.
Requires Python, PyGame, and Twisted.
Coinage
A simple database for coin collectors.
Requires Python and TkInter.
Tic Tac Toe
A simple conversion of the pen and paper classic.
Requires Python and PyGame.

Single File Programs

All but the last two of these require Python.

Alife
A weird experiment in artificial life.
Requires PyGame.
Lrandom
A python interface to the Linux random device.
Screen Hack
Draws a fountain of little dots.
Requires PyGame and vectors (see below).
Sound
Plays chip music. It uses direct access to the Linux sound device file, so it won't work on Windows and porting it may be complicated. On most other un*xen it should work, but you may have to change the name of the sound device (near the top of the program).
Space
Draws a planet orbiting a sun.
Requires PyGame.
Strange
A strange attractor. I translated the code from "Fractal programming in C". Draws first one 2D projection of the 3D fractal, and then a different 2D projection.
Requires PyGame.
Tarot
Generates random Tarot spreads.
Vectors
A simple vector class and related functions.
Weighted Choice
A weighted version (or three) of random.choice
L33t
A text filter that turns perfectly good English into script kiddie fodder.
4 73x7 f1l73r 7h@7 7urnz p3rf3c7ly g00d 3ngl15h 1n70 5cr1p7 k1dd13 f0dd3r.
Requires Perl.
Hello world!
Not just any hello world. It's in stand-alone Linux x86 ASM.
An example of some stunningly non portable code that's also a bit obfuscated as to how it operates. The resulting program is extremely small. The actual executable code is dwarfed by the ELF headers.
Compile with "gcc -nostdlib -o hello hello.s"