rewrite the AI but no history heuristic and transposition table.