So I'm writing a dice game that displays 5 dice on the screen at one time. Part of my code looks like this:

diceshow();
diceshow();
diceshow();
diceshow();
diceshow();

This function determines the random value of five dice and displays the 5 ascii dice on the screen. The output looks roughly like this:

Code:
---------
I         I
I   O    I 
I-------I

---------
I      O I
I O      I 
I-------I

---------
I         I
I   O    I 
I-------I
That is, the dice are stacked vertically on the screen upon output. Lol, this would be fine, except the screen isn't big enough to display all five of the dice onscreen.

Is there a way to skip the newline somehow so that that the output comes out horizontally like this:

Code:
---------    --------     ---------
I         I    I     O I    I        I
I   O    I   I O     I     I   O  I
I-------I    I-------I    I------I
(Sorry for the god-awful dice here--don't have time to edit them perfectly here )

Thanks!