separated into several files
separated from game.js
separated from game.js