Tetris Page Rank Bot

The goal of this project was to create an intelligent Agent. As such, I decided to take a crack at Tetris© because I've always been a fan. For this, the approach was slightly inspired by Ryan Heise's approach of ranking every possible stack, then using Google's Page Rank algorithm to rank them.
Sorry, your browser doesn't support the <canvas> element.

The Algorithm

Above is a demonstration of the algorithm in action. So far, the highest recorded number of consecutive pieces placed is 3210 turns.