@hp4k1h5/terminordle
Version:
> multiplayer [wordle](https://www.powerlanguage.co.uk/wordle/) clone in your terminal
21 lines (20 loc) • 845 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MsgType = exports.ClientMsgType = exports.ServerMsgType = void 0;
var ServerMsgType;
(function (ServerMsgType) {
ServerMsgType["create"] = "create";
ServerMsgType["join"] = "join";
ServerMsgType["guess"] = "guess";
ServerMsgType["again"] = "again";
})(ServerMsgType = exports.ServerMsgType || (exports.ServerMsgType = {}));
var ClientMsgType;
(function (ClientMsgType) {
ClientMsgType["user_id"] = "user_id";
ClientMsgType["session_id"] = "session_id";
ClientMsgType["info"] = "info";
ClientMsgType["again"] = "again";
ClientMsgType["guess"] = "guess";
ClientMsgType["error"] = "error";
})(ClientMsgType = exports.ClientMsgType || (exports.ClientMsgType = {}));
exports.MsgType = { ...ServerMsgType, ...ClientMsgType };