Changed instance variables to properties, fixed winning checking for MinMax.