Forwarded from Henok (Stellar🌌)
Ive officially started working on my own chess engine (Oxide) using rust
I began with pawn and knight move generation, and for now im keeping things simple and readable instead of jumping straight into heavy optimizations. The knights are generated using straightforward (file, rank) offsets... check all 8 possible jumps, make sure the target square is on the board, and allow the move if its empty or holds an enemy piece.
Its not bitboards yet, but its easy to reason about and hard to get wrong, which is exactly what I want at this stage. I’ve also finished pawn move generation, so the engine can already produce a decent chunk of legal moves.
Next up are sliding pieces (bishops, rooks, queens), which is where things start getting more interesting. Once thats done, I’ll probably revisit move gen and optimize.
Finally feels good to actually be building this instead of just thinking about it. ♟
#Oxide #ChessEngine #Rust
I began with pawn and knight move generation, and for now im keeping things simple and readable instead of jumping straight into heavy optimizations. The knights are generated using straightforward (file, rank) offsets... check all 8 possible jumps, make sure the target square is on the board, and allow the move if its empty or holds an enemy piece.
Its not bitboards yet, but its easy to reason about and hard to get wrong, which is exactly what I want at this stage. I’ve also finished pawn move generation, so the engine can already produce a decent chunk of legal moves.
Next up are sliding pieces (bishops, rooks, queens), which is where things start getting more interesting. Once thats done, I’ll probably revisit move gen and optimize.
Finally feels good to actually be building this instead of just thinking about it. ♟
#Oxide #ChessEngine #Rust
🔥2⚡1❤1
Weekly log
Watched movie=> None
Highlights=>
- Finished most of the plans i set for my project
- Finished The stranger - Albert Camus (10/10)
- Attended my first ever dev Meetup (12/10)
Productive week, to say the least:)
Watched movie=> None
Highlights=>
- Finished most of the plans i set for my project
- Finished The stranger - Albert Camus (10/10)
- Attended my first ever dev Meetup (12/10)
Productive week, to say the least:)
❤1
Weekly log
Watched movies => Greenland 2 (meh)
=> Rip (better)
Highlights=>
- A2SV class began -- simply lovely
- Started reading another book -- crime and punishment (dostoevsky) it'll take alot of time tho
- 0 progress on the project :(
Productive week, next one will be better
Watched movies => Greenland 2 (meh)
=> Rip (better)
Highlights=>
- A2SV class began -- simply lovely
- Started reading another book -- crime and punishment (dostoevsky) it'll take alot of time tho
- 0 progress on the project :(
Productive week, next one will be better
🔥1
Weekly log
Watched movies => The lego movie (awesome)
Highlights=>
- reached 200problems on leetcode
- had my first A2SV contest
Nothing much has happened tbh, but i'm rly loving the competitive programming route that i'm on. This could actually be my thing. Till next time :)
Watched movies => The lego movie (awesome)
Highlights=>
- reached 200problems on leetcode
- had my first A2SV contest
Nothing much has happened tbh, but i'm rly loving the competitive programming route that i'm on. This could actually be my thing. Till next time :)
🔥2