Agreed. The only thing I could think to do would be look for pieces to capture in any given turn, but that would never get it to an end game condition. It's beyond my current capabilities to make a proper computer opponent, but it would be a good exercise.