aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2022-01-10 00:17:46 +0100
committerThomas Voss <thomasvoss@live.com> 2022-01-10 00:17:46 +0100
commit1987fb57136f9534899bcf9f07737a989cf29674 (patch)
treefd8859e4db245120fbc829478e95361d25d10e5d
parent03b66f151b6a899792f4217c31f84af76c230545 (diff)
Be a bit more verbose in message descriptions
-rw-r--r--draughts/public/javascripts/messages.js6
1 files 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)