The minimax algorithm is now hooked up, but it's not quite working correctly yet.