Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tie mechanism when position repeats itself 3 times. #14

Open
marcel-valdez opened this issue Mar 15, 2020 · 0 comments
Open

Add tie mechanism when position repeats itself 3 times. #14

marcel-valdez opened this issue Mar 15, 2020 · 0 comments
Labels
ambiguity: low Low level of ambiguity. No investigation required, mostly execution. effort: S+ Small to Medium effort. We can barely do 2 of these in 1 sprint. enhancement New feature or request value: medium-

Comments

@marcel-valdez
Copy link
Owner

marcel-valdez commented Mar 15, 2020

Description
The problem/use-case it solves
There are times when the best move is to avoid losing so a given position can repeat itself infinitely when both parties make the best move.

The solution from the user's perspective
This is a draw, the board should detect this and declare the game a draw.

  • Effort: S+
  • Value: Medium to low
  • Ambiguity: Low

Design & Implementation Suggestions

  • We can store the board hash in an array and use that to determine if a repeated pattern of hash has occurred.
@marcel-valdez marcel-valdez added enhancement New feature or request ambiguity: low Low level of ambiguity. No investigation required, mostly execution. effort: S+ Small to Medium effort. We can barely do 2 of these in 1 sprint. value: medium- labels Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ambiguity: low Low level of ambiguity. No investigation required, mostly execution. effort: S+ Small to Medium effort. We can barely do 2 of these in 1 sprint. enhancement New feature or request value: medium-
Projects
None yet
Development

No branches or pull requests

1 participant