use common game logic on server/client
This commit is contained in:
parent
6cf4f71c86
commit
656d6a567c
5 changed files with 448 additions and 413 deletions
6
game/Game.js
Normal file
6
game/Game.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import GameCommon from './../common/GameCommon.js'
|
||||
|
||||
export default {
|
||||
createGame: GameCommon.setGame,
|
||||
handleInput: GameCommon.handleInput,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue