summaryrefslogtreecommitdiff
path: root/src/simulation/trial.js
blob: b4462c5d7cbd67db285c1239d7624eb586a03623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'use strict';

import { create_team, create_epoch, update_epoch } from './game.js';

const start_teams = [...Array(50)].map(x => create_team(32, 5, 5));

let epoch = create_epoch(start_teams);

while (epoch.epoch < 1) {
  console.log(epoch.epoch, epoch.time, epoch.game.time);
  epoch = update_epoch(epoch);
}