I'm tasked with making a bowling scoreboard, wich for the most part works, however, I'm wondering how I go about printing player1, player2, or whatevers scoreboard beside each other, I currently get this:
Frame: 1
Worp 1: X
Worp2: -
-----
Frame: 2
Worp 1: X
Worp2: -
-----
Frame: 3
Worp 1: X
Worp2: -
-----
Frame: 4
Worp 1: 9
Worp 2: -
-----
Frame: 5
Worp 1: X
Worp2: -
-----
Frame: 6
Worp 1: 8
Worp 2: 1
-----
Frame: 7
Worp 1: 7
Worp 2: 1
-----
Frame: 8
Worp 1: 3
Worp2: /
-----
Frame: 9
Worp 1: 2
Worp 2: 2
-----
Frame: 10
beurt 1: X
beurt 2: 2
beurt 3: 3
-----
-----
Score: 154
Is there a way to tell my program that it needs to start it's printline beside the already in place output?
Edit: so that it would be:
Player 1: Player 2:
Frame 1: Frame 1
Turn 1: Turn 1
Turn 2: Turn 2
Instead of what i now have,
Player 1:
Frame 1
Turn 1:
Turn 2:
Player 2:
Frame 1
Turn 1:
Turn 2: