-
Notifications
You must be signed in to change notification settings - Fork 22
Move Generator
Rudy Alex Kohn edited this page Sep 3, 2022
·
1 revision
The move generator supports the following types
- Legal (default)
- Captures
- Quiets
- NonEvasions
- Evasions
- QuietChecks
To generate all legal moves from a FEN
// generate all legal moves for current position
const string fen = "rnbqkbnr/1ppQpppp/p2p4/8/8/2P5/PP1PPPPP/RNB1KBNR b KQkq - 1 6";
var game = GameFactory.Create(fen);
var moveList = game.Pos.GenerateMoves();
// ..