printBoard 改为只调用一次打印

This commit is contained in:
CalciteM Team 2019-09-15 01:08:31 +08:00
parent 874dac69f1
commit 7b77e8219f
1 changed files with 13 additions and 13 deletions

View File

@ -905,17 +905,17 @@ void Board::rotate(int degrees, list <string> &cmdlist, char *cmdline, int32_t m
void Board::printBoard()
{
loggerDebug("\n");
loggerDebug("31 ----- 24 ----- 25\n");
loggerDebug("| \\ | / |\n");
loggerDebug("| 23 -- 16 -- 17 |\n");
loggerDebug("| | \\ | / | |\n");
loggerDebug("| | 15-08-09 | |\n");
loggerDebug("30-22-14 10-18-26\n");
loggerDebug("| | 13-12-11 | |\n");
loggerDebug("| | / | \\ | |\n");
loggerDebug("| 21 -- 20 -- 19 |\n");
loggerDebug("| / | \\ |\n");
loggerDebug("29 ----- 28 ----- 27\n");
loggerDebug("\n");
loggerDebug("\n"
"31 ----- 24 ----- 25\n"
"| \\ | / |\n"
"| 23 -- 16 -- 17 |\n"
"| | \\ | / | |\n"
"| | 15-08-09 | |\n"
"30-22-14 10-18-26\n"
"| | 13-12-11 | |\n"
"| | / | \\ | |\n"
"| 21 -- 20 -- 19 |\n"
"| / | \\ |\n"
"29 ----- 28 ----- 27\n"
"\n");
}