Create Functions To Generate Pseudo Legal Moves #7
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pseudo legal moves are all moves except those that put a king in check. Essentially, these moves are legal based on geometry and not on game check rules. After the pseudo moves are generated, they can then be filtered afterwards by applying chess rules to them.
Pseudo legal moves include the following:
pawns: quiets, doubles, captures, promotions, en-passant
knights/king: from attack / move caches
sliders: generate moves from ray scanning
castling: if squares empty + not attacked
Create Functions To General Pseudo Legal Movesto Create Functions To Generate Pseudo Legal Moves