Skip to main content

After a long break...

16 Jun 2022

after a long break

(made a snake clone in c++ during this time, check it out!)

  • still coding move generation
  • moved hard-coded numbers to Enums (Direction and Player)
  • refactored sliding moves (Q, B, R)
  • added pgn output (ugly but atleast lichess can parse)
  • now engine generates moves from both sides, yay!
  • separated main.cpp into several header and cpp files

Comments

Popular posts from this blog

Making moves with the Negamax algorithm

  10 Sept 2022 after a loooonngg time!!! 4:50 am there's a lot to tell you, but firstly, i'm very happy now because i just teached my ai to capture pieces and guess what, it doesn't just look one move into the future. yes guys, i wrote the negamax algorithm!! it's much more fun to play with it now. but still it has to prioritize other things besides captures, like promotions, checks, pins etc. and obviously, mates! now i'm going to sleep as i got many works to do :(

Move generation

1 Jun 2022 after 12 am ditching color output for now reading evening, night more reading modularizing, exceptions 2 Jun 2022 after 12 am started writing this blog lol ### started writing move generation function

Legal move generation

17 Jun 2022 after 2 am added  fen  output, generates direct url to lichess analysis! afternoon repaired enpassant and castling moves refactored move generation function minor  san  notation improvements started legal move generation function