blob: 3dedf0109c4e27ed4fc4a0f0056e779cf1b34e79 (
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('update');
epoch = update_epoch(epoch);
}
|