/**
 * TAC Presets: TAC rankings, followed by wins and numgames
 *
 * @return Presets
 * @author Erik E. Lorenz <erik@tuvero.de>
 * @license MIT License
 * @see LICENSE
 */

define(function () {
  var Presets;

  Presets = {
    target: 'tac',
    systems: {
      swiss: {
        ranking: ['tac', 'numgames', 'wins', 'headtohead'],
        mode: 'ranks'
      },
      ko: {
        mode: 'matched'
      },
      round: {
        ranking: ['tac', 'numgames', 'wins', 'headtohead']
      },
      placement: {
      }
    },
    ranking: {
      components: ['tac', 'numgames', 'wins', 'headtohead', 'saldo']
    },
    registration: {
      minteamsize: 1,
      maxteamsize: 1,
      teamsizeicon: false
    },
    taboptions: {
      namemaxwidth: false,
      showmatchtables: true
    },
    names: {
      playernameurl: '',
      dbplayername: 'tacplayers',
      apitoken: 'apitoken',
      teamsfile: 'tuvero-anmeldungen.txt'
    }
  };

  return Presets;
});

/**
 * TAC Presets: TAC rankings, followed by wins and numgames
 *
 * @return Presets
 * @author Erik E. Lorenz <erik@tuvero.de>
 * @license MIT License
 * @see LICENSE
 */

define(function () {
  var Presets;

  Presets = {
    target: 'tac',
    systems: {
      swiss: {
        ranking: ['tac', 'numgames', 'wins', 'headtohead'],
        mode: 'ranks'
      },
      ko: {
        mode: 'matched'
      },
      round: {
        ranking: ['tac', 'numgames', 'wins', 'headtohead']
      },
      placement: {
      }
    },
    ranking: {
      components: ['tac', 'numgames', 'wins', 'headtohead', 'saldo']
    },
    registration: {
      minteamsize: 1,
      maxteamsize: 3,
      teamsizeicon: false
    },
    taboptions: {
      namemaxwidth: false,
      showmatchtables: true
    },
    names: {
      playernameurl: '',
      dbplayername: 'tacplayers',
      apitoken: 'apitoken',
      teamsfile: 'tuvero-anmeldungen.txt'
    }
  };

  return Presets;
});

Increase TAC maxteamsize to 3 (from 1)
Increase TAC maxteamsize to 3 (from 1)

- Fixes #343
- Opens #346, since the user cannot select the teamsize
