a bunch of selfish prisoners having sex and mutating. WHOA. a very basic evolutionary algorithm, a last night's play.
Prisoner's dilemma is a scenario in a game theory (check it out if you don't know about it) its interesting to me in part because it explains human moral intuitions through a selfish evolutionary perspective, in other words, why people are generally nice to each other.
In the iterated prisoners dilemma the game is played repeatedly thus each agent has an opportunity to learn about other agents behaviours and potentially punish noncooperation. Cooperation may then arise as an equilibrium outcome.
I didn't get tit for tat which I originaly expected, nor did I manage to get any other cooperative equilibrium. cooperation does evolve, but it doesn't last, strange, I expected that cooperative species will raise and stay dominant as I enlarge the number of interactions before a step in the evolution. (its rational to be nice if you need to stick around) need to investigate and think about this some more.
I'll post more info and code later or never. screenshot and someone with a different approach and a spacial dimension.
After looking at the rorschach test, I wanted more. supirisingly, I couldn't find any rorschach generators online, so, python, tkinter and randomwalk with random size blobs and simmetrical reflection, I thought that some tweaking or more complicated algorithm would be needed but this works great.
click on a canvas for (re)generation.
I've been hoping to write this for a while, its not a very exciting project so I've been working on this when I'm tired.
its a bit unusual, nodejs-blosxom, ~400 lines of coffescript. this is very much a work in progress, I'd advise you to use it as inspiration more then as a code you run. templates related to my own homepage are included in the repo. might move them laters.