2026-02-17 · 5 min read
Chess Engine Day 1 Recap
Day 1 of my handcrafted chess engine. No AI help or copying.
- Progress
- Chess
2026-02-17 · 5 min read
Day 1 of my handcrafted chess engine. No AI help or copying.
Each day I work on this project I want to provide a little snapshot of my progress. Eventually I'll maybe start recording videos but it's hard at school with a roommate.
Find the code for my Day 1 commit here
Today I got started with two classes, ChessGame and ChessMove.
ChessMove – A pydantic BaseModel I use to parse algebraic notation for chess moves into information I can use/store.
ChessGame to interface with the notationChessGame – Stores all of the data for an individual game
int for the pieces. Black is negative.ChessMove objectsmain – used for testing pretty much today
I'm happy with my progress so far. As I develop, I'm keeping the idea of scaling this to an actual api in the back of my mind. It's important that everything is modular and clean; logic needs to be separated wherever possible. I think the logic for parsing chess notation into data I can use will prove super useful.
The core functionality for the game that I really need seems to be:
Once those are complete, I will have an intereface for chess games that the computer should be able to understand. That's my first goal, and we can go for there.