game serialized and getter and setter methods created