chesslablab / tsblab

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

TDD the Rook #15

Closed programarivm closed 2 years ago

programarivm commented 2 years ago

At this stage everything's ready to start writing the chess pieces!

Remember:

We're writing an object-oriented chess codebase not only because we want to practice software development skills but also to avoid the intricacies of chess bitboards.

This issue is about TDDing the mobility() method in a new .ts file called Rook.ts in the ts-chess/src/piece folder.

For further information, please visit:

Keep it up and happy coding and learning!

owais34 commented 2 years ago

Hi please assign me this issue 😇.

programarivm commented 2 years ago

At this moment the tests are failing, which is perfectly okay. The following issues have come up when TDDing Rook.ts: