Maxim Sokhatsky 11 years ago
parent
commit
19f458280a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/face/priv/static/doc/svg.js

+ 2 - 2
apps/face/priv/static/doc/svg.js

@@ -1,5 +1,5 @@
 
 
-var transition = {pid: '', port: '8000' };
+var transition = {pid: '', port: '8080' };
 
 
 // BERT Protocol
 // BERT Protocol
 
 
@@ -13,7 +13,7 @@ function handle_web_socket(body) {
                 var c = a[i-1].value[0][1];
                 var c = a[i-1].value[0][1];
                 var v = a[i-1].value[0][2];
                 var v = a[i-1].value[0][2];
                 console.log("Card " + c + " " + v);
                 console.log("Card " + c + " " + v);
-                place_card(i,1,c,v);
+                place_card(i,rand(1,2),c,v);
             }
             }
             break;
             break;
         case 'okey_tile_discarded':
         case 'okey_tile_discarded':