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

Ильиных Анна #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AnnaIlinykh
Copy link

No description provided.

@AnnaIlinykh AnnaIlinykh changed the title Решение и тесты Ильиных Анна Apr 25, 2018
@Zhigalov Zhigalov self-assigned this Apr 27, 2018
Copy link

@Zhigalov Zhigalov left a comment

Choose a reason for hiding this comment

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

Хорошо, ты правильно проверила выигрыш и ничью. Молодец.

Хотелось бы увидеть тесты на игровую механику:

  • если удачно сходил крестик, то следующий ходит нолик
  • если неудачно сходил крестик (по ячейке, на которой уже есть отметка), то следующий ходит тоже крестик

Проверить, что кнопка очищает игровое поле.

function startNewGame(fieldInputs) {
playingFieldInputs.forEach(input => {
input.removeAttribute('value');
});

Choose a reason for hiding this comment

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

playingFieldInputs.forEach(input => input.removeAttribute('value'));

@Zhigalov
Copy link

Аня, по этой задаче нужны доработки

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

Successfully merging this pull request may close these issues.

None yet

2 participants