updated game_manager.js