Below are some code snippets from projects I have worked on. I did not include code from Infinite Ammo projects, as some of the code is still being used on projects in development.

Engine/AI

Efficient collision detection engine A basic game engine with efficient collision detection
Source The code for the above collision detection/game engine

HPA* Pathfinding Test(Build) A test implementation of various A* approaches
Pathfinding.cpp The code for the above pathfinding test

Tower Defence Pathfinding A very fast centralized multi-agent pathfinding system

AI wars (Game) A simulation designed to use simple swarm AI
AI wars (Code) The code and project file for AI wars (requires allegro)

Tools

LevelEditor.cpp, a level editor written for Infinite Ammo's Marian prototype
TileEditor.cpp, a tile editor written for Infinite Ammo's Marian prototype