This commit is contained in:
Adam 2024-04-11 02:44:45 -04:00
parent 083b4f236c
commit 2a6c17f55c

View file

@ -1,19 +0,0 @@
const data = require("./data/cah-cards-full.json");
let whites = [];
let blacks = [];
for (pack of data) {
console.log(pack.name);
console.log("white cards: " + pack.white.length);
if (pack.white) {
whites.concat(pack.white);
}
console.log("black cards: " + pack.black.length);
if (pack.white) {
blacks.concat(pack.black);
}
}
console.log(whites.length);
console.log(blacks.length);