Game Theory Simulation Framework - C

library
c, game theory
http://c-simulations.readthedocs.io/en/latest/
https://github.com/gsmcwhirter/c-simulations

Later in my research career, I found that the python simulation framework I had constructed was too slow to effectively finish my research in time. So, I migrated most of the functionality to a C library.

The Technology

The C code that I wrote for this library is definitely not ideal. It makes far too heavy use of the heap due to my desire to accept inputs on the command line instead of compiling the binary with declarations that could enable better use of the stack. There are likely some other issues with it, but at the time it was good enough to enable the rest of my research to proceed.

Example uses can be seen in my self-deception project and universal-deception project .