%% gap_averages computes the average length of "GAP N" games for N = 1 to 30.

for N = 1 : 30
  average = gap_average ( N );
  fprintf ( '  %2d  %f\n', N, average );
end