Decision Theory

The Newcomb Problem Simulator

This is my first computer program and final project for Stanford's Code in Place (2026). Though imperfect, it is intended to simulate Newcomb's problem and intuitively show how two reasonable rational choice theories will tell you to do conflicting things. You get to choose the predictor's accuracy and whether you'd like to simulate one or more rounds. I hope you enjoy!

Web version of my original Python program.