Let's implement more heuristic evaluation features! Remember, we're transcribing a statically-typed, object-oriented PHP codebase into TypeScript from scratch.
This issue is about TDDing the material evaluation in a new .ts file called MaterialEval.ts in the ts-chess/src/eval folder as well as the corresponding test file MaterialEvaluat.test.ts in the tests/unit/eval folder.
For further details on how the material evaluation is implemented in PHP Chess please visit:
Let's implement more heuristic evaluation features! Remember, we're transcribing a statically-typed, object-oriented PHP codebase into TypeScript from scratch.
For further information please visit:
So far the following ones have been added to the codebase already:
This issue is about TDDing the material evaluation in a new .ts file called
MaterialEval.ts
in thets-chess/src/eval
folder as well as the corresponding test fileMaterialEvaluat.test.ts
in thetests/unit/eval
folder.For further details on how the material evaluation is implemented in PHP Chess please visit:
As you can see, it implies that the
getPiecesByColor()
method must also be implemented inBoard.ts
.Keep it up and happy learning and coding!