highlight every board
このコミットが含まれているのは:
コミット
da853c2ba2
7
uttt.c
7
uttt.c
|
@ -117,18 +117,19 @@ void ut_show(const struct ut_state *state) {
|
|||
}
|
||||
putchar(tiles[y][x] ? tiles[y][x] : ' ');
|
||||
}
|
||||
if (y / 3 == play_board_row) {
|
||||
if (y / 3 == play_board_row || play_board_row == -1) {
|
||||
printf("<");
|
||||
}
|
||||
putchar('\n');
|
||||
}
|
||||
if (play_board_col != -1) {
|
||||
if (play_board_col == -1) {
|
||||
printf(" ^^^ ^^^ ^^^");
|
||||
} else {
|
||||
printf(" ");
|
||||
for (int i = 0; i < play_board_col; i++) {
|
||||
printf(" ");
|
||||
}
|
||||
printf("^^^");
|
||||
putchar('\n');
|
||||
}
|
||||
putchar('\n');
|
||||
#undef tiles
|
||||
|
|
読み込み中…
新しいイシューから参照