Sunday, February 28, 2010

The Golden Rule (Prisoner's Dilema)

So I wasn't going to publish this, but I found an article that sparked my interest. The article discusses the known golden rule and it's role in a simulation known as "The Prisoner's Dilemma." The thought process can continue into the grounds of computer decision making, but I'll let you read the article and think on it yourself.

I did a recreation of the prisoner's dilemma in JavaScript for my artificial cultures class. It was thrown together in one evening, so it may not be perfect, but it should give a feel for the simulation.

The computer's strategies consist of: cooperate (computer always cooperates) compete (computer always competes) tit for tat (computer optimistically cooperates first, and then does what the player did on the previous turn. the golden rule) tit for two tats (computer has a memory span of two turns and always cooperates unless the player competes for two turns straight).

Friday, February 26, 2010

Hello and Welcome!!

Hello and welcome to my blog!

I created this blog near the beginning of 2010 with the intention of it being a sort of sketchbook. I oftentimes found myself wanting to publish my works in progress, but of course they were never polished enough for my portfolio, which lead to them sitting in an FTP folder collecting dust. A blog just seemed like the logical conclusion.

Here I intend to post the progress to my programming experiments, as well as all the other things I find myself doing such as animation, graphic design, and, just for fun, cooking. Thanks for stopping by, and I hope you enjoy!