added game instantiation dependency on io object