Style the title box

This commit is contained in:
sepia 2025-07-20 16:16:28 -05:00
parent c112fa99cf
commit 605c111c73
5 changed files with 82 additions and 24 deletions

View file

@ -52,6 +52,6 @@ export function renderGameBoardHtml(
return boardHtml;
}
export function renderPlayerInfoHtml(gameId: string, playerId: string): string {
return `<div id="player-info">You are: ${playerId}<br/>Game ID: ${gameId}</div>`;
export function renderTitleBoxHtml(gameId: string, playerId: string): string {
return `<div id="title-box">You are: ${playerId}<br/>Game ID: ${gameId}</div>`;
}