add optimization
This commit is contained in:
parent
20609ef414
commit
e01a830a7f
83400
assets/words.js
83400
assets/words.js
File diff suppressed because it is too large
Load diff
4
index.js
4
index.js
|
@ -113,9 +113,9 @@ const startGame = async (meta, seed) => {
|
|||
data = words.datas[words.seeds.indexOf(seed)]
|
||||
}
|
||||
|
||||
games[meta.room] = new Game(data.word, allWords)
|
||||
games[meta.room] = new Game(data, allWords)
|
||||
|
||||
const word = data.word
|
||||
const word = data
|
||||
const firstLetter = word.substr(0, 1)
|
||||
const size = word.length
|
||||
|
||||
|
|
Loading…
Reference in a new issue