haxdds / fischer

A classic game of chess with a hint of artificial intelligence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

En Passant Piece Bug

haxdds opened this issue · comments

Describe the bug

CanEnPassant Throws an error when attempting to access the piece involved in the last move. The last move has not been

To Reproduce

Move Pawn
If applicable, post move log/sequence of moves that produces bug:

E4 E5
Expected behavior

no error pls
Possible Solutions

Maybe problem with movelog with cloned boards.
Screenshots

Desktop:

  • OS:

Additional context
Add any other context about the problem here.

movelog isn't being updated with piece change