Skip to content

Commit

Permalink
Readded properties
Browse files Browse the repository at this point in the history
  • Loading branch information
psfer07 committed Aug 26, 2024
1 parent 55f80ac commit 5e92d6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ window.onload = function () {
let start;
let hasStarted = false;
let grid = [];
const properties = { // Each cell will have these properties by default
color: "#ccc",
pheromone: 1.0
}
for (let x = 0; x < gridWidth; x++) {
let cols = [];
for (let y = 0; y < gridHeight; y++) {
Expand Down

0 comments on commit 5e92d6b

Please sign in to comment.