delete commented code
このコミットが含まれているのは:
コミット
ea0a6ed49c
23
uttt.c
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;
|
||||
}
|
||||
|
|
読み込み中…
新しいイシューから参照