2d expanded Prisoner's dilemma simulator.
to install this simulator, you need
- common-lisp (I tested sbcl 1.3)
- SDL environment (this simulator depends to lispbuilder-sdl)
the way to running this simulator
-
inform where this directory is to the ASDF/common lisp
(push #P"/where/this/directory/game-theory-simulator/" asdf:*central-registry*)
don't forget end of path-string '/' -
using asdf loadsystem to load this package
(asdf:operate 'asdf:load-op :GAME-THEORY-SIMULATOR)
-
in to package
(in-package :game-theory-simulator)
-
to run simulator,
(UI)
-------
|A|A|A|
-------
|A|@|A|
-------
|A|A|A|
-------
A
or@
meansplant
planted in cell.- each
cell
hasenergy
to feedplant
. plant
deelenergy
to adjoing plants- deel is
cooperation
orbetrayal
- after deeling, plants get energy rerated to gain table
- gain table is shown in
src/rule.lisp
ofenergy-coefficient-list
- in default rule of
4e2165e
, it is very lucrative tobetrayal nist
- deel is
energy
of thecell
is too lower than adjoiningcell
, plant of thecell
is changed to highestenergy
plant.plant
memories strategies of adjoiningplants
plant
can decide deel (cooperation
orbetrayal
) refer to memories
documents directory (todo)
- executeable file
- javascript GUI
- more useful GUI
- debug / source refactoring
- Consideration by many rule-parameters
- to configure rules easily
- documentations of Prisoner's dilemma