only with a query. It's about that I'm creating a java game similar to Tamagochi from the 90's. You must have the option to create Pokemon, where you can enter the name of the Pokémon; in addition to this the player can enter an "image" of characters for his pokemon that he is creating.
my code is as follows.
System.out.println("Ingrese el nombre de su Pokemon");
nombreDelPokemon[contador]=scanner.next();
System.out.println("Ingrese la imagen de su Pokemon");
imagenDelPokemon=scanner.next();
But when I read the image variable, the Pokémon only prints the first line of the pokemon image.
the image of the pokemon is the following:
, ,_
|'\ ';;, ,;;'
| '\ \ '. .'.'
| '\ \ '-""""-' /
'. '\ / |'
'> /; _ _ \
/ / | . ;
< ('";\ () ~~~ (/_
';;\ ', __ _.-'' )
>;\ ' _.'
';;\ \-'
;/ \ _
| ,"". .' \
| _| ' /
; /") .;-,
jgs \ / __ .-'
\,_/-"' '-'
I would like to know how to do so that Java read me the whole paragraph. Thanks