A scoreboard has two jobs. It has to be easy to read from where you’re sitting, and it has to be easy to change without taking your attention away from the game. On a regular iPhone, putting each score beside its buttons works well. On a folding screen propped up on the table, those two jobs can move to different surfaces.
Put the score where people look
In tabletop pose, DuoScore uses the upright half for both scores. The flat half holds the two scoring areas. A player can glance up to see the result, then reach for the same area on every turn. If there’s only one way to score, the entire area can be one large +1 button.
DuoScore is built in SwiftUI. It reads the division region that the system reports and uses that region to place the scoreboard and controls. The gap belongs to the hinge, so neither side has to guess how much of the window it can use.
Orient the labels for the people playing
When players sit at opposite sides, a label that reads correctly from one seat can be sideways from the other. Face players rotates the labels toward their respective seats. When both players sit together, Same direction makes both sets of buttons read like the scoreboard. The setting matters less in handheld play, where each card keeps its controls upright.
Keep the game through the transition
Turn the fold upright and the book layout gives each player a side. Close the phone and the cover display gets two compact player cards. The screen arrangement changes while the scores and match progress carry across.
See the layouts in the DuoScore screenshot gallery, or follow the tabletop setup guide.