Apply suggestion from @Copilot

Added spacing between operands

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
apetitco 2025-12-11 16:14:25 +01:00 committed by GitHub
parent e0f73ce514
commit 7005d644ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}