From 086d2294b546ea169137f85997a7e1b043212ce4 Mon Sep 17 00:00:00 2001 From: Silvia Barrientos Date: Wed, 2 Sep 2020 17:01:10 +0000 Subject: [PATCH] Update ta-te-ti.c --- ta-te-ti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ta-te-ti.c b/ta-te-ti.c index e6d209d..4e3d445 100644 --- a/ta-te-ti.c +++ b/ta-te-ti.c @@ -139,7 +139,7 @@ char validarJugada(char mat[][TRES], char turno, int contador, char ganador){ } imprimirTabla(mat); - if(fila(mat)==0 || columna(mat)==0 || diagonalPrincipal(mat)==0 || diagonalSecundaria(mat)==0){ + if(fila(mat)==1 || columna(mat)==1 || diagonalPrincipal(mat)==1 || diagonalSecundaria(mat)==1){ ganador = turno; } turno = turnoVal(turno); -- libgit2 0.26.0