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.
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:
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 thets-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!