added ability to initialize a game as local or not