diff options
author | sanine <sanine.not@pm.me> | 2023-11-12 15:18:29 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-11-12 15:18:29 -0600 |
commit | 7825b92ce3be95a0ce1dfea9388adbaadce83b1f (patch) | |
tree | eb1e38561e3aba4b890e666e04d46e4de499658e /src/ui/index.js | |
parent | 95fd952b6d4c496efc0e6236ba2acfcbbeee8ed9 (diff) |
fix bugs
Diffstat (limited to 'src/ui/index.js')
-rw-r--r-- | src/ui/index.js | 5 |
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) { |