Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created May 19, 2021
Embed
What would you like to do?
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