Web Dev Solutions

Catalin Mititiuc

From 0783d703c1365f3307cb9e780b81f5ef19387bac Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Tue, 6 Aug 2024 19:51:22 -0700 Subject: WIP: very rough armor --- src/modules/gameboard.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/modules/gameboard.js') diff --git a/src/modules/gameboard.js b/src/modules/gameboard.js index 8cb6af1..3741ad2 100644 --- a/src/modules/gameboard.js +++ b/src/modules/gameboard.js @@ -379,17 +379,17 @@ export function start(el) { //cell2.classList.add('hover'); // - soldier.place( - svg, - soldier.createCounter({ dataset: { allegiance: 'attacker', number: 2, squad: 1 }}, 'hsplaser'), - getCell(-2, 3, -1, 0) - ); - - soldier.place( - svg, - soldier.createCounter({ dataset: { allegiance: 'attacker', number: 2, squad: 5 }}, 'rifle'), - getCell(-3, 3, 0, 0) - ); + //soldier.place( + // svg, + // soldier.createCounter({ dataset: { allegiance: 'attacker', number: 2, squad: 1 }}, 'hsplaser'), + // getCell(-2, 3, -1, 0) + //); + // + //soldier.place( + // svg, + // soldier.createCounter({ dataset: { allegiance: 'attacker', number: 2, squad: 5 }}, 'rifle'), + // getCell(-3, 3, 0, 0) + //); // Add some counters in an unoccupied cell //const countersCell = getCell(-1, 1, 0, 0); -- cgit v1.2.3