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

Repeated moves appear in FEN moves #64

Open
calcitem opened this issue Nov 26, 2020 · 0 comments
Open

Repeated moves appear in FEN moves #64

calcitem opened this issue Nov 26, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@calcitem
Copy link
Owner

calcitem commented Nov 26, 2020

osition fen O@@OOOO@/OOO**@O@/@O@@O@@O b m p 10 0 12 0 0 2 14 moves (3,4)->(2,4) (3,5)->(3,4) (3,5)->(3,4) (2,4)->(2,5)

    if (_history.length > 0) {
      if (_history[_history.length - 1].move == move.move) {
        assert(false);
      }
    }
calcitem added a commit that referenced this issue Dec 1, 2020
对于 #64
出现重复着法时由触发 assert 改为 return。

此问题根源待查明。
@calcitem calcitem added the bug Something isn't working label Feb 13, 2021
@calcitem calcitem changed the title fen moves 中出现重复着法 Repeated moves appear in FEN moves Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant