divy-07 / chess-engine

Implementing a basic Java chess engine
Apache License 2.0
1 stars 0 forks source link

Code reuse in move generation algorithms #32

Open divy-07 opened 1 year ago

divy-07 commented 1 year ago

Most of the algorithms in moves/bestmove use mini-max as their basis, with a few improvements on top. We have a lot of the same code in all the files. We should find a way to enable code reuse. There's currently three options: