Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Feature: Improve tie checking algorithm #2

Open
LeifTheDev opened this issue Sep 9, 2024 · 0 comments
Open

Feature: Improve tie checking algorithm #2

LeifTheDev opened this issue Sep 9, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@LeifTheDev
Copy link

Currently, a tie is checked through the check_draw() function. This works by checking if there are empty positions within the board.

We can improve this through checking if it is possible for a player to win, which can be done through a modified version of the win check algorithms, instead checking if there is an empty line within the board.

@LeifTheDev LeifTheDev added the enhancement New feature or request label Sep 9, 2024
@LeifTheDev LeifTheDev self-assigned this Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant