Starlight-30036225 / ChessTCP

FILLMELATER
0 stars 0 forks source link

Pawn move repetition #15

Closed Starlight-30036225 closed 7 months ago

Starlight-30036225 commented 7 months ago

With the changes I made to the validate move function, the code for pawn moves needs to be updates.

Currently, it calls validatemove for its return value, then adds a move if that is true. This is now redundant as validate move handles adding a successful move to the list, so i can change this: image

Starlight-30036225 commented 7 months ago

image

Only a slight change, but these moves will now no longer be added to the list twice.