changed time format and added writing maxGameTime