use common game logic on server/client

This commit is contained in:
Zutatensuppe 2020-11-17 22:34:15 +01:00
parent 6cf4f71c86
commit 656d6a567c
5 changed files with 448 additions and 413 deletions

6
game/Game.js Normal file
View file

@ -0,0 +1,6 @@
import GameCommon from './../common/GameCommon.js'
export default {
createGame: GameCommon.setGame,
handleInput: GameCommon.handleInput,
}