chesslablab / tsblab

A chess library for TypeScript.
GNU General Public License v3.0
15 stars 5 forks source link

TDD the square evaluation #29

Closed programarivm closed 2 years ago

programarivm commented 2 years ago

Now that the calcMobility() method has been successfully implemented in all chess pieces, let's start implementing the heuristic evaluation features! Remember, we're transcribing a statically-typed, object-oriented PHP codebase into TypeScript from scratch.

For further information please visit:

This issue is about TDDing the square evaluation in a new .ts file called SqEvaluation.ts in the ts-chess/src/evaluation folder. The square evaluation will allow to find out which chessboard squares are being occupied by pieces of both colors and which ones are free at any given moment.

For further details on how the square evaluation is implemented in PHP Chess please visit:

Keep it up and happy learning and coding!

owais34 commented 2 years ago

Hi Please assign me this issue 😁!!