2026-02-19 · 5 min read
Chess Engine Day 3 Recap
Day 3 of my handcrafted chess engine. No AI help or copying.
- Progress
- Chess
2026-02-19 · 5 min read
Day 3 of my handcrafted chess engine. No AI help or copying.
Find the code for my Day 3 commit here
Today I finished pawn move validation in my ChessGame class!
validate_pawn_move(self, move: ChessMove) -> bool – A function that takes in a ChessMove object and analyzes the validity of a pawn move.
self.board with the updated board based on the moveThis is a great step in the right direction towards validating moves. Once I can successfully validate that moves work, I can actually have 2-player functionality.
validate_xxxxx_move() function for each piece