Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created February 2, 2021 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/2014a467a1393dcdc13d63d2ddba043e to your computer and use it in GitHub Desktop.
Save parzibyte/2014a467a1393dcdc13d63d2ddba043e to your computer and use it in GitHub Desktop.
static bool esEmpate(string[,] tablero)
{
int i;
for (i = 0; i < COLUMNAS; ++i)
{
int resultado = obtenerFilaDesocupada(i, tablero);
if (resultado != FILA_NO_ENCONTRADA)
{
return false;
}
}
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment