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

[Chess] Fix wrong zobrist hash #1078

Merged
merged 10 commits into from
Nov 6, 2023

Conversation

sotetsuk
Copy link
Owner

@sotetsuk sotetsuk commented Nov 6, 2023

  • pawn removal by en passant
  • pawn promotion to queen

@sotetsuk sotetsuk changed the title [Chess] Fix wrong zobrist hash when the pawn is removed by en passant [Chess] Fix wrong zobrist hash by en passant Nov 6, 2023
Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Merging #1078 (9ce61a6) into main (e7da0cc) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1078      +/-   ##
==========================================
+ Coverage   88.03%   88.05%   +0.01%     
==========================================
  Files          54       54              
  Lines        5900     5908       +8     
==========================================
+ Hits         5194     5202       +8     
  Misses        706      706              
Files Coverage Δ
pgx/chess.py 99.50% <100.00%> (+<0.01%) ⬆️

@sotetsuk sotetsuk changed the title [Chess] Fix wrong zobrist hash by en passant [Chess] Fix wrong zobrist hash Nov 6, 2023
@sotetsuk sotetsuk merged commit 2af728c into main Nov 6, 2023
4 checks passed
@sotetsuk sotetsuk deleted the sotetsuk/fix/remove-wrong-en-passant-zobrist-hash branch November 6, 2023 06:12
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.

None yet

1 participant