doClick(square) {
    if (this.movesCount > 0) return null;
    return new Move({
      appear: [
        new PiPo({ x: square[0], y: square[1], c: 'w', p: V.KNIGHT })
      ],
      vanish: [],
      start: { x: -1, y: -1 }
    });
  }
// Initiate the game by choosing a square for the knight:
Initiate the game by choosing a square for the knight.
Initiate the game by choosing a square for the knight .
doClick(square) {
    if (this.movesCount > 0) return null;
    return new Move({
      appear: [
        new PiPo({ x: square[0], y: square[1], c: 'w', p: V.KNIGHT })
      ],
      vanish: [],
      start: { x: -1, y: -1 }
    });
  }
doClick ( square ) { if ( this . movesCount > 0 ) return null ; return new Move ( { appear : [ new PiPo ( { x : square [ 0 ] , y : square [ 1 ] , c : 'w' , p : V . KNIGHT } ) ] , vanish : [ ] , start : { x : - 1 , y : - 1 } } ) ; }
Initiate the game by choosing a square for the knight:
Initiate the game by choosing a square for the knight :