delete commented code

このコミットが含まれているのは:
ninya9k 2023-11-12 11:24:27 +00:00
コミット ea0a6ed49c
1個のファイルの変更1行の追加22行の削除

23
uttt.c
ファイルの表示

@ -87,23 +87,6 @@ void ut_show(const struct ut_state *state) {
play_board_row = state->playBoard / 3;
play_board_col = state->playBoard % 3;
}
/*for(int i = 0; i < 3; i++)
{
putchar(' ');
for(int j = 0; j < 3; j++)
{
printf("%d ");
}
}
for(int br = 0; br < 3; br++)
{
for(int r = 0; r < 3; r++)
{
}for(int bc = 0; bc < 3; bc++)
{
}
}*/
printf(" 012 345 678\n");
for(int y = 0; y < 9; y++)
{
@ -161,11 +144,7 @@ bool getpos(const struct ut_state *state, int *x, int *y) {
return false;
if (sscanf_result != 2)
continue;
/*
if (
*x >= 0 && *x < 9 && *y >= 0 && *y < 9
&& board->tiles[*y][*x] == '\0'
) */ break;
break;
}
return true;
}