UNPKG
ngx-chess-board
Version:
latest (3.0.0)
3.0.0
2.2.3
2.2.2
2.2.1
2.2.0
2.1.18
2.1.17
2.1.16
2.1.15
2.1.14
2.1.13
2.1.12
2.1.11
2.1.10
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.9
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.1
2.0.0
1.9.7
1.9.6
1.9.5
1.9.3
1.9.2
1.9.1
1.9.0
1.8.5
1.8.4
1.8.3
1.8.1
1.8.0
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.6.3
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.2
1.1.1
1.0.6
1.0.4
1.0.2
1.0.1
0.0.1
Chess game component
github.com/grzegorz103/ngx-chess-board
grzegorz103/ngx-chess-board
ngx-chess-board
/
src
/
lib
/
engine
/
piece-decorator
/
abstract-piece.ts
10 lines
(5 loc)
•
168 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
Point
}
from
'../../models/pieces/point'
;
export
interface
AbstractPiece
{
getPossibleMoves
():
Point
[];
getPossibleCaptures
():
Point
[]; }