thaw-reversi-engine.ts
Version:
A Node.js Reversi (Othello) game engine with alpha-beta pruning and a heuristic, packaged for npm.
8 lines (7 loc) • 328 B
JavaScript
// github:tom-weatherhead/thaw-reversi-engine.ts/src/player-colour.ts
export var PlayerColour;
(function (PlayerColour) {
PlayerColour[PlayerColour["Empty"] = 0] = "Empty";
PlayerColour[PlayerColour["White"] = 1] = "White";
PlayerColour[PlayerColour["Black"] = 2] = "Black";
})(PlayerColour || (PlayerColour = {}));