'update'
authorBenjamin Auder <benjamin.auder@somewhere>
Thu, 6 Feb 2020 19:00:52 +0000 (20:00 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Thu, 6 Feb 2020 19:00:52 +0000 (20:00 +0100)
TODO [deleted file]
client/README.md
server/sockets.js

diff --git a/TODO b/TODO
deleted file mode 100644 (file)
index d8f28b4..0000000
--- a/TODO
+++ /dev/null
@@ -1 +0,0 @@
-Translations (including About page), refresh rules
index 0b7fbe4..e74d295 100644 (file)
@@ -1,7 +1,7 @@
 # vchess-client
 
 ## Project setup
 # vchess-client
 
 ## Project setup
-Rename and edit src/socket\_url.js.dist into socket\_url.js
+Rename and edit src/parameters.js.dist into parameters.js
 ```
 npm install
 ```
 ```
 npm install
 ```
@@ -27,8 +27,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
 ## Resources
 
  - Vue.js + Vue router,
 ## Resources
 
  - Vue.js + Vue router,
- - Underscore.js,
  - mini.css,
  - mini.css,
- - Google font 'Open Sans' + a few icons,
+ - Google font 'Open Sans'
 
 Sounds and pieces images where found at various locations.
 
 Sounds and pieces images where found at various locations.
index 795ed43..553f8c6 100644 (file)
@@ -62,7 +62,7 @@ module.exports = function(wss) {
           break;
         case "pagechange":
           // page change clients[sid].page --> obj.page
           break;
         case "pagechange":
           // page change clients[sid].page --> obj.page
-console.log("page change: " + clients[sid].page + " " + obj.page + " " + sid);
+console.log(sid + " : page change: " + clients[sid].page + " --> " + obj.page);
           notifyRoom(clients[sid].page, "disconnect");
           if (clients[sid].page.indexOf("/game/") >= 0)
             notifyRoom("/", "gdisconnect");
           notifyRoom(clients[sid].page, "disconnect");
           if (clients[sid].page.indexOf("/game/") >= 0)
             notifyRoom("/", "gdisconnect");