hompoth / prisoner-s-dilemma Goto Github PK
View Code? Open in Web Editor NEWDemonstrating prisoner's dilemma by optimally choosing whether to defect or cooperate. Uses a genetic algorithm and three hill-climbing algorithms to find the best choice based on how others react to your choices.