このコミットが含まれているのは:
ninya9k 2023-11-13 12:19:29 +00:00
コミット 6ec1320e42
1個のファイルの変更1行の追加1行の削除

2
uttt.c
ファイルの表示

@ -277,7 +277,7 @@ void ut_local_game(struct ut_state *state) {
ut_show_boards(state); ut_show_boards(state);
bool ok = getpos(state, &x, &y); bool ok = getpos(state, &x, &y);
if (!ok) {continue;} if (!ok) {continue;}
int err = ut_move(state, state, x, y); int err = ut_move(state, state, y, x);
if (err) {continue;} if (err) {continue;}
char w = ut_winner((char *)state->boards, 0, 3); char w = ut_winner((char *)state->boards, 0, 3);
if(w) if(w)