Update game_manager.js

Support AI