From 1987fb57136f9534899bcf9f07737a989cf29674 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 10 Jan 2022 00:17:46 +0100 Subject: Be a bit more verbose in message descriptions --- draughts/public/javascripts/messages.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/draughts/public/javascripts/messages.js b/draughts/public/javascripts/messages.js index f532d58..7f70576 100644 --- a/draughts/public/javascripts/messages.js +++ b/draughts/public/javascripts/messages.js @@ -1,5 +1,5 @@ (function (exports) { - exports.START = 0 // Server -> Client :: The game has started - exports.RESIGN = 1 // Server -> Client :: The opponent resigned - exports.DISCONNECT = 2 // Server -> Client :: The opponent disconnected + exports.START = 0 // Server -> Client :: Inform the client that the game has started + exports.RESIGN = 1 // Server <-> Client :: Inform the server/opponent that the client resigned + exports.DISCONNECT = 2 // Server -> Client :: Inform the client that the opponent disconnected })(typeof(exports) == "undefined" ? (this.Messages = {}) : exports) -- cgit v1.2.3