tsgammon-core
Version:
A Backgammon library for Typescript, formerly developed as a part of tsgammon-ui
22 lines • 668 B
TypeScript
/**
* Gnu Backgammon仕様のMatchIDを解析し、各項目の情報を返す。
* @param matchID MatchIDないし任意の文字列
* @returns 解析結果:内容のチェックはしないので、どの文字列にたいしても何らかの結果が返る
*/
export declare function decodeMatchID(matchID: string): {
cube: number;
cubeOwner: number;
diceOwner: number;
crawford: number;
gameState: number;
turnOwner: number;
double: number;
resign: number;
dice1: number;
dice2: number;
matchLen: number;
score1: number;
score2: number;
noJacoby: number;
};
//# sourceMappingURL=decodeMatchID.d.ts.map