Skip to content

Refactor winner checking logic#328

Open
vanshhiiikaa wants to merge 1 commit into
Shahrayar123:masterfrom
vanshhiiikaa:improve-tictactoe
Open

Refactor winner checking logic#328
vanshhiiikaa wants to merge 1 commit into
Shahrayar123:masterfrom
vanshhiiikaa:improve-tictactoe

Conversation

@vanshhiiikaa

Copy link
Copy Markdown

This PR improves the Tic Tac Toe winner checking logic.

Changes made:

  • Added WINNING_COMBINATIONS list
  • Simplified isWinner function
  • Improved readability and maintainability
  • Kept existing game functionality unchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant