Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created May 21, 2021 18:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/6f6316a5efd3fad4dd48d5495e7842c1 to your computer and use it in GitHub Desktop.
Save parzibyte/6f6316a5efd3fad4dd48d5495e7842c1 to your computer and use it in GitHub Desktop.
public static void main(String[] args) {
int modo;
String menu = "1. Humano contra humano\n2. Humano contra CPU (El CPU juega como " + JUGADOR_CPU_O + ")\n3. CPU contra CPU\nElige: ";
modo = solicitarNumeroValido(menu, 1, 3);
iniciarJuego(modo);
sc.close();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment