summaryrefslogtreecommitdiff
path: root/src/ui/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/index.js')
-rw-r--r--src/ui/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/index.js b/src/ui/index.js
index b710b48..01068cb 100644
--- a/src/ui/index.js
+++ b/src/ui/index.js
@@ -2,8 +2,11 @@ import { draw } from './canvas.js';
import { create_team, create_epoch, update_epoch } from '../simulation/game.js';
-const start_teams = [...Array(5)].map(x => create_team(8, 50, 50));
+console.log("generating agents...");
+const start_teams = [...Array(4)].map(x => create_team(2, 400, 50));
+console.log("creating epoch...");
let epoch = create_epoch(60, start_teams);
+console.log("ready!");
function draw_cell(ctx, x, y, cell) {