From 6ec1320e422961037d0878afd42dfa65178628d4 Mon Sep 17 00:00:00 2001 From: ninya9k <> Date: Mon, 13 Nov 2023 12:19:29 +0000 Subject: [PATCH] swap y,x --- uttt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uttt.c b/uttt.c index 379cfa4..b0ff8ea 100644 --- a/uttt.c +++ b/uttt.c @@ -277,7 +277,7 @@ void ut_local_game(struct ut_state *state) { ut_show_boards(state); bool ok = getpos(state, &x, &y); if (!ok) {continue;} - int err = ut_move(state, state, x, y); + int err = ut_move(state, state, y, x); if (err) {continue;} char w = ut_winner((char *)state->boards, 0, 3); if(w)