Source code: here
Humans and Goblins Example