juliangarnier / 3D-Hartwig-chess-set

3D chess game done in HTML/CSS/JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The piece has no point on the board where you can move it

anastasia-horbachevska opened this issue · comments

Description:

The_ last white chess piece on the board does not have the ability to move. There are no points on the board where the chess piece can move. A chess piece can be moved around the board, and it is impossible to place it in any cell. Returning the move back to black, then this problem appears again.

Steps to reproduce:

  1. Open the link: http://codepen.io/juliangarnier/full/BsIih.
  2. View topics.
  3. Choose the second topic (Stone).
  4. Start of the game.
  5. Play until one white chess piece (king) remains.
  6. Make a move by the king. (The king does not walk).
  7. Return one move.
  8. Make a move black.
  9. And move the white king again.

Actual result:

A chess piece cannot make a move. And starts to fail
image

Expected result:

Points will appear on the board where you can move the piece. and the King will move so that you can continue to play and finish the game.

Additional info:

Tested on Chrome.

It's good game