hopeseekr / PrisonersDilemma

Let's see if Cooperation is an Evolutionary End-State, via The Prisoner's Dilemma and Genetic Algos!
MIT License
5 stars 0 forks source link

Refactor the Command to Generic Classes #5

Open hopeseekr opened 4 years ago

hopeseekr commented 4 years ago

The Problem

In order to facilitate RAD, I coded it all in a single monolithic Laravel Command.

This won't work with Genetic Algorithms, as there's little for the evolved agents to control.

The Solution

All the logic has to be split up into various classes, along with relevant mutation factors / genomes AND agents.