The Thinking Machine, by Martin Wattenberg and Marek Walczak, shows you the thought process of a computer trying to win at chess. There have been several iterations that date back to 2002, but the most recent iteration was built for modern browsers and you can play against the computer.