Web Dev Solutions

Catalin Mititiuc

From a7925db494ab7db102a7acb6408ca5efcbf2cb08 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Fri, 9 Aug 2024 20:22:43 -0700 Subject: Remove random props on map resource window object --- src/modules/gameboard.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/modules/gameboard.js') diff --git a/src/modules/gameboard.js b/src/modules/gameboard.js index 0bde2df..fd2aaf1 100644 --- a/src/modules/gameboard.js +++ b/src/modules/gameboard.js @@ -405,14 +405,14 @@ export function start(el) { //cell2.classList.add('hover'); // - const trooper1 = soldier.createCounter({ dataset: { allegiance: 'attacker', number: 1, squad: 1 }}, 'blazer'); - soldier.place(svg, trooper1, getCell(-3, 9, -6, 0)); - - soldier.place( - svg, - soldier.createCounter({ dataset: { allegiance: 'defender', number: 1, squad: 1 }}, 'blazer'), - getCell(1, -8, 7, 0) - ); + //const trooper1 = soldier.createCounter({ dataset: { allegiance: 'attacker', number: 1, squad: 1 }}, 'blazer'); + //soldier.place(svg, trooper1, getCell(-3, 9, -6, 0)); + // + //soldier.place( + // svg, + // soldier.createCounter({ dataset: { allegiance: 'defender', number: 1, squad: 1 }}, 'blazer'), + // getCell(1, -8, 7, 0) + //); // Add some counters in an unoccupied cell //const countersCell = getCell(-1, 1, 0, 0); -- cgit v1.2.3