Skip to content

Code reuse in move generation algorithms #32

@divy-07

Description

@divy-07

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:

  • make a common interface
  • make a superclass for all the algorithms
  • somehow make other algorithms use the min() and max() from SequentialMiniMax

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions