UNPKG

chess-easy

Version:

Chess engine that makes writing chessgame easier than writing a calculator

18 lines 759 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Colors = exports.ChessPieces = void 0; var ChessPieces; (function (ChessPieces) { ChessPieces[ChessPieces["PAWN"] = 0] = "PAWN"; ChessPieces[ChessPieces["BISHOP"] = 1] = "BISHOP"; ChessPieces[ChessPieces["KNIGHT"] = 2] = "KNIGHT"; ChessPieces[ChessPieces["ROOK"] = 3] = "ROOK"; ChessPieces[ChessPieces["QUEEN"] = 4] = "QUEEN"; ChessPieces[ChessPieces["KING"] = 5] = "KING"; })(ChessPieces = exports.ChessPieces || (exports.ChessPieces = {})); var Colors; (function (Colors) { Colors[Colors["WHITE"] = 0] = "WHITE"; Colors[Colors["BLACK"] = 1] = "BLACK"; })(Colors = exports.Colors || (exports.Colors = {})); //# sourceMappingURL=common.js.map