divy-07 / chess-engine

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

Position class to replace static bitboards #11

Closed divy-07 closed 1 year ago

divy-07 commented 1 year ago

Currently, we just pass the bitboards around to whatever methods need them. A way better design would be a Position class which has all the bitboards and other features of the position as fields. We could also port the evaluation methods into this class.

Note: this change would require almost all the files to be changed in some way, should probably split this task into multiple pull requests.

divy-07 commented 1 year ago

Could also have a Move class