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 c7c2ee1..04a96e9 100644
--- a/draughts/public/javascripts/messages.js
+++ b/draughts/public/javascripts/messages.js
@@ -5,4 +5,5 @@
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
+ exports.GAMEOVER = 6 // S --> C :: Inform the clients that the game is over
})(typeof(exports) == "undefined" ? (this.Messages = {}) : exports)