Skip to content

Conversation

@tomaszdworniczak
Copy link
Collaborator

No description provided.

PiotrRynio and others added 28 commits February 15, 2021 19:01
In progress: is PossibleMoves
Copy link
Collaborator

@PiotrRynio PiotrRynio left a comment

Choose a reason for hiding this comment

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

Czy to już koniec? Brak pokrycia testami.
Daj znać kiedy approve

Comment on lines +96 to +101
endGameText.classList.add('endGame__text');
if (side && position) {
endGameText.innerText = `${side} player lost! Checkmate on ${position}.`;
} else {
endGameText.innerText = `Draw!`;
}
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
endGameText.classList.add('endGame__text');
if (side && position) {
endGameText.innerText = `${side} player lost! Checkmate on ${position}.`;
} else {
endGameText.innerText = `Draw!`;
}
endGameText.classList.add('endGame__text');
if (side && position) {
endGameText.innerText = `${side} player lost! Checkmate on ${position}.`;
} else {
endGameText.innerText = `Draw!!!`;
}

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.

5 participants