+/// format_square() converts a Square to a string (g1, a7, etc.)
+
+std::string UCI::format_square(Square s) {
+ char ch[] = { 'a' + file_of(s), '1' + rank_of(s), 0 };
+ return ch;
+}
+
+
+/// format_move() converts a Move to a string in coordinate notation