Skip to content

Conversation

@HazipovVF
Copy link

No description provided.

@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.

Не хватает проверок:

  • на очистку игрового поля
  • после успешного хода крестика ходит нолик
  • после неудачного хода крестика (ход на занятую клетку) ходит снова крестик

canChangePlayer = true;
});

function checkTie() {
Copy link

Choose a reason for hiding this comment

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

проверить галстук?

Copy link
Author

Choose a reason for hiding this comment

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

также переводится как ничья

{
win: 'Крестики',
winningSlogan: 'Победили крестики',
cells: [1,3,4,6,7],
Copy link

Choose a reason for hiding this comment

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

Можно в ascii нарисовать игровое поле, чтобы тебе было удобно писать тесты, а мне проверять решение. Например:

/**
 *  x | x | o
 * ---+---+---
 *    |   | x
 * ---+---+---
 *    |   | o
 */

@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.

2 participants