Skip to content

Conversation

@cBoss1029
Copy link
Owner

No description provided.

Copy link

@reneemeyer reneemeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cory, nice job, you're comments are correct, there is room for simplification, but the classes and methods look great.

}

moveChecker(whichPiece, toWhere) {
whichPiece = whichPiece.split('').map(Number);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function should be split up into smaller easier to maintain functions.


}
jumpedPiece(whichPiece, toWhere) {
if (this.playerTurn === 'A' &&

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simplify, just return the evaluation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants