tsgammon-core
Version:
A Backgammon library for Typescript, formerly developed as a part of tsgammon-ui
14 lines • 416 B
TypeScript
import { Score } from '../Score';
/**
* スコアを文字列に変換する
*
* ex) Red:1 - White:1
*
* @param score スコア
* @param redPlayer Red側のプレイヤー名
* @param whitePlayer White側のプレイヤー名
*
* @returns 変換後の文字列
*/
export declare function formatScore(score: Score, redPlayer?: string, whitePlayer?: string): string;
//# sourceMappingURL=formatScore.d.ts.map