UNPKG

backgammon

Version:

a clean api for building a backgammon game

10 lines (8 loc) 188 B
import { Point } from "./Point"; import { SingleDice } from "./Dice"; export interface SingleMove { from: Point; to: Point; uses: SingleDice; } export type MovePath = SingleMove[];