projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start server implementation for correspondance play (early debug stage)
[vchess.git]
/
public
/
javascripts
/
components
/
room.js
diff --git
a/public/javascripts/components/room.js
b/public/javascripts/components/room.js
index
93990ce
..
fbf02ee
100644
(file)
--- a/
public/javascripts/components/room.js
+++ b/
public/javascripts/components/room.js
@@
-144,7
+144,7
@@
Vue.component('my-room', {
},
// user: last person to accept the challenge
newGame: function(chall, user) {
},
// user: last person to accept the challenge
newGame: function(chall, user) {
- const fen = chall.fen || V
ariantRules
.GenRandInitFen();
+ const fen = chall.fen || V.GenRandInitFen();
const game = {}; //TODO: fen, players, time ...
//setStorage(game); //TODO
game.players.forEach(p => {
const game = {}; //TODO: fen, players, time ...
//setStorage(game); //TODO
game.players.forEach(p => {