From 7825b92ce3be95a0ce1dfea9388adbaadce83b1f Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 12 Nov 2023 15:18:29 -0600 Subject: fix bugs --- src/ui/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ui/index.js') 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) { -- cgit v1.2.1