Game representation - code form - Matos, M. C. P.; Ferreira, M. A. M. (The Complex Networks of Economic Interactions: Essays in Agent-Based Economics and Econophysics, 2006)