java - How to print a sequence of Strings column wise? -
i trying write program in java game designing; wanted have part in game imitated led lighting. sequence wanted print has printed column wise (from left right).
the sequence going ascii art:
db db d888888b 88 88 `88' 88ooo88 88 88~~~88 88 88 88 .88. yp yp y888888p
and printing should done this:
d b 8 8 8 8 o o o 8 8 ~ ~ ~ 8 8 y p
each of columns should printed 1 after other, in front of each other.
make print method each character using following print statement , call required 1 when necessary.
example public void printxxx(){ // xxx replace character system.out.println("d b"); . . . on.... }
Comments
Post a Comment