-
- else if (token == "go")
- go(pos, is);
-
- else if (token == "ucinewgame")
- TT.clear();
-
- else if (token == "isready")
- sync_cout << "readyok" << sync_endl;
-
- else if (token == "position")
- set_position(pos, is);
-
- else if (token == "setoption")
- set_option(is);
-
- else if (token == "d")
- pos.print();
-
- else if (token == "flip")
- pos.flip();
-
- else if (token == "eval")
- sync_cout << Eval::trace(pos) << sync_endl;
-
- else if (token == "bench")
- benchmark(pos, is);
-
- else if (token == "key")
- sync_cout << "key: " << hex << pos.key()
- << "\nmaterial key: " << pos.material_key()
- << "\npawn key: " << pos.pawn_key() << sync_endl;
-
- else if (token == "uci")
- sync_cout << "id name " << engine_info(true)
- << "\n" << Options
- << "\nuciok" << sync_endl;
-
- else if (token == "perft" && (is >> token)) // Read depth