Toby Ord has some elderly C code (see Appendix II) that he used in his societal iterated prisoner’s dilemma tournaments. You’d have to modify it for your purposes, but it’s a small codebase.
Toby Ord has some elderly C code (see Appendix II) that he used in his societal iterated prisoner’s dilemma tournaments. You’d have to modify it for your purposes, but it’s a small codebase.