Separated structs and player logic from game.js
Switched from package.json to submodule for easier update of gamesync