Tit for Tat
Today I hosted 18 high schoolers at work for the Greater Nashville Technology Council's Traveling Tech Day. Inspired by Radiolab's recent Tit for Tat episode, I had the students create strategies for the Prisoner's Dilemma. It's a great example of how complex problems can have simple solutions. In my version, I made a Wizard game where the Wizards could work together with Light spells, or against each other with Dark spells. The pressure was on because the students described their strategies to me and I had to code each of them on the spot. Proud to say, despite some of the more complicated ones, I managed to code it all on the first pass, it built without bugs and ran without crashing. That's always a good feeling.