How leonhfr/orca works
Main Components to Include:
Core Chess Logic Layer (/chess directory)
• This as a central module containing:
• Board representation (bitboards)
• Move generation
• Evaluation
• Game rules enforcement
• FEN/UCI parsing
• Zobrist hashing
Search Engine Layer (/search directory)
• As a separate module with:
• Alpha-beta pruning
• Quiescence search
• Transposition tables
• Move ordering
• Evaluation functions
UCI Interface Layer (/uci directory)
• As the external communication layer:
• Command parsing
• Response formatting
• Options handling
Data Storage (/data directory)
• As a supporting component:
• Opening books
• Pre-computed tables
Use a layered architecture approach
[UCI Interface Layer]
• ↕
[Search Engine Layer]
• ↕
[Core Chess Logic Layer]
• ↕
[Data Storage Layer]
Subsystems
• Transposition Tables
• Move Generation
• Evaluation
• Opening Book Access
Specific Implementation Details:
Configuration points
• Hash size setting
• Opening book toggle
• Chess960 mode switch
Remember to indicate the concurrent aspects of the engine, especially in the search component, as this is a performance-critical chess engine written in Go.