Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created May 19, 2021 16:48
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/7f1e287556e20d4c53f1e538b363ac40 to your computer and use it in GitHub Desktop.
Save parzibyte/7f1e287556e20d4c53f1e538b363ac40 to your computer and use it in GitHub Desktop.
void jugar() {
srand(getpid());
char eleccion = 's';
while (eleccion == 's') {
medidaGlobalBosque = solicitarMedida();
iniciar_nueva_partida();
printf("Jugar de nuevo? [s/n]: ");
scanf("%c", &eleccion);
consumir_nueva_linea();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment