Ivan Asmer 5 years ago
parent
commit
d4c9201a8d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      index.js

+ 2 - 2
index.js

@@ -28,9 +28,9 @@ const dice = () => Math.ceil(Math.random()*6)
 
 const startBoard = () => [
     {color: 'white', count: 15},
-    , , , , , , , , , , ,
+    { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0},
     {color: 'black', count: 15},
-    , , , , , , , , , , ,
+    { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0}, { count: 0},
 ]
 
 io.on('connection', socket => {