UNPKG
backgammon
Version:
latest (1.3.2)
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
a clean api for building a backgammon game
github.com/toly11/backgammon
toly11/backgammon
backgammon
/
src
/
modules
/
Board.ts
10 lines
(8 loc)
•
188 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
Point
}
from
"./Point"
;
import
{
SingleDice
}
from
"./Dice"
;
export
interface
SingleMove
{
from
:
Point
;
to
:
Point
;
uses
:
SingleDice
; }
export
type
MovePath
=
SingleMove
[];