From 7005d644ee0ad9827666e79596998d651c40be4c Mon Sep 17 00:00:00 2001 From: apetitco <82622378+RepentedAlex@users.noreply.github.com> Date: Thu, 11 Dec 2025 16:14:25 +0100 Subject: [PATCH] Apply suggestion from @Copilot Added spacing between operands Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- frontend/src/pages/ttt/ttt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/ttt/ttt.ts b/frontend/src/pages/ttt/ttt.ts index 801c2a1..a8f47b3 100644 --- a/frontend/src/pages/ttt/ttt.ts +++ b/frontend/src/pages/ttt/ttt.ts @@ -37,7 +37,7 @@ class TTC { const checkRow = (row: number): ('X' | 'O' | null) => { if (this.board[row * 3] === null) return null; - if (this.board[row * 3] === this.board[row * 3+1] && this.board[row * 3 + 1] === this.board[row * 3 + 2]) + if (this.board[row * 3] === this.board[row * 3 + 1] && this.board[row * 3 + 1] === this.board[row * 3 + 2]) return this.board[row * 3]; return null; }