This tutorial contains three main sections:
A ZIP file that includes all the code from every step of this guide is available here
A ZIP file that includes the entire tutorial (including all web pages) is available here
Note: This tutorial only applies to RepastJ and earlier versions of Repast. Repast's new tool, called 'Simphony', is a very different kind of tool from the original Repast, and this tutorial does not apply to it. You should instead use the tutorials provided by the Repast team on the repast.sourceforge.net web site.
Some time ago this tutorial was reviewed carefully and thoroughly by Leigh Tesfatsion. Readers of this site will probably be interested in the many other resources she has available on her site at http://www.econ.iastate.edu/tesfatsi/repastsg.htm.