mnm-sys / tezdhar

A fast and unbeatable chess engine written in C
GNU General Public License v3.0
3 stars 1 forks source link

Some illegal moves like acbd, efgh, etc. are not being updated as Invalid #25

Closed mnm-sys closed 2 years ago

mnm-sys commented 2 years ago

Your move: abcd

-------- Called by: chess.c:57:main() --------
move->movetext      = abcd
move->chessman          = Empty
move->promoted          = Empty
move->from_file     = -
move->from_rank         = -
move->to_file           = c
move->to_rank           = -
move->castle_ks         = 0
move->castle_qs         = 0
move->null              = 0
move->invalid           = 0
move->draw_offered      = 0
move->ep                = 0
move->capture           = 0
move->check             = 0
move->checkmate         = 0
----------------------------------------------

Your move: defh

-------- Called by: chess.c:57:main() --------
move->movetext      = defh
move->chessman          = Empty
move->promoted          = Empty
move->from_file     = -
move->from_rank         = -
move->to_file           = f
move->to_rank           = -
move->castle_ks         = 0
move->castle_qs         = 0
move->null              = 0
move->invalid           = 0
move->draw_offered      = 0
move->ep                = 0
move->capture           = 0
move->check             = 0
move->checkmate         = 0
----------------------------------------------