From 367dacb5057c945027775f992edf69884c8fb650 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Wed, 12 Nov 2025 22:18:19 +0100 Subject: Changed the layout a bit --- game.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'game.mjs') diff --git a/game.mjs b/game.mjs index d5000c3..45efb81 100644 --- a/game.mjs +++ b/game.mjs @@ -10,7 +10,7 @@ class Team { console.log(this.playerOne + " and " + this.playerTwo); } render() { - return `${this.playerOne}${this.playerTwo}`; + return `${this.playerOne}${this.playerTwo}`; } } @@ -28,7 +28,7 @@ class Game { render() { let type = this.team_1.playerOne === "RESERVED" ? `class="is-danger is-dark"` : ``; - return `${ + return `${ this.courtId + 1 }${this.team_1.render()}${this.team_2.render()}`; } -- cgit v1.3.1