Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View checkmate #90

Open
wants to merge 28 commits into
base: develop
Choose a base branch
from
Open

View checkmate #90

wants to merge 28 commits into from

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.

4 participants