Added heuristic for move evaluation and automatic game play