Separated game.php from game.js