c0a3592d3dd7d61374c03af444b0cddddc6aa1de
Update parseFen to return Either[String, GameContext] with specific error messages for each validation failure: - Invalid parts count: reports expected 6 fields - Invalid board: clear message about board position - Invalid color: explains expected 'w' or 'b' - Invalid castling, en passant, and move counts with clear descriptions Simplify importGameContext to delegate directly to parseFen. Keep helper methods (parseColor, parseCastling, parseEnPassant, etc.) returning Option as before. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
Scala
83.4%
Python
12%
Bru
2.7%
Jupyter Notebook
0.7%
HTML
0.7%
Other
0.4%