refactoring Game.js
Resharper Team-shared settings added