UNPKG

@real_one_chess_king/game-logic

Version:
26 lines 1.36 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WSServerGameEvent = exports.WSClientGameEvent = void 0; var WSClientGameEvent; (function (WSClientGameEvent) { WSClientGameEvent["Turn"] = "turn"; WSClientGameEvent["Surrender"] = "surrender"; WSClientGameEvent["FindGame"] = "find_game"; })(WSClientGameEvent || (exports.WSClientGameEvent = WSClientGameEvent = {})); var WSServerGameEvent; (function (WSServerGameEvent) { WSServerGameEvent["TurnConfirmed"] = "turn_confirmed"; WSServerGameEvent["TurnRejected"] = "turn_rejected"; WSServerGameEvent["OpponentTurn"] = "opponent_turn"; WSServerGameEvent["SurrenderConfirmed"] = "surrender_confirmed"; WSServerGameEvent["OpponentSurrender"] = "opponent_surrender"; WSServerGameEvent["OpponentDisconnected"] = "opponent_disconnected"; WSServerGameEvent["OpponentWon"] = "opponent_won"; WSServerGameEvent["OpponentTimeOut"] = "opponent_time_out"; WSServerGameEvent["YourTimeOut"] = "your_time_out"; WSServerGameEvent["YouWon"] = "you_won"; WSServerGameEvent["GameStarted"] = "game_started"; WSServerGameEvent["WaitingForOpponent"] = "waiting_for_opponent"; WSServerGameEvent["Stalemate"] = "stalemate"; })(WSServerGameEvent || (exports.WSServerGameEvent = WSServerGameEvent = {})); //# sourceMappingURL=const.js.map