Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 24, 2020 02:02
Show Gist options
  • Save parzibyte/39cc97ed4d96fe6489d51e5e736bff9f to your computer and use it in GitHub Desktop.
Save parzibyte/39cc97ed4d96fe6489d51e5e736bff9f to your computer and use it in GitHub Desktop.
void colocarSerpienteEnMatriz() {
for (int i = 0; i < longitudSerpiente; i++) {
int x = serpiente[i].y,
y = serpiente[i].x;
prueba[x][y] = 1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment