aboutsummaryrefslogtreecommitdiff
path: root/draughts/public/javascripts/messages.js
diff options
context:
space:
mode:
Diffstat (limited to 'draughts/public/javascripts/messages.js')
-rw-r--r--draughts/public/javascripts/messages.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/draughts/public/javascripts/messages.js b/draughts/public/javascripts/messages.js
index 94837d8..c7c2ee1 100644
--- a/draughts/public/javascripts/messages.js
+++ b/draughts/public/javascripts/messages.js
@@ -4,4 +4,5 @@
exports.DISCONNECT = 2 // S --> C :: Inform the client that the opponent disconnected
exports.MOVED = 3 // S <-> C :: Inform the server/opponent that the client has moved a piece
exports.WELCOME = 4 // S --> C :: Inform the client of their color when they join the game
+ exports.START = 5 // s --> C :: Inform the blue player that they can make the first move
})(typeof(exports) == "undefined" ? (this.Messages = {}) : exports)