vinc / littlewing

Chess engine written in Rust ♛

Home Page:https://vinc.cc/binaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor game.next_move()

vinc opened this issue · comments

Getting the next move is a bit complex due to the staged moves generation. When there's no more move to play, we need to call next_stage and generate_moves, but the latter can only be called at some stage and not at some other. We need to refactor that to be able to always call it.