if (withBall.includes(lowerRi)) ballCount++;
sumElts++;
} else {
- const num = parseInt(row[i]);
+ const num = parseInt(row[i], 10);
if (isNaN(num)) return false;
sumElts += num;
}
if (
m.vanish.length == 2 &&
m.vanish[1].p != 'a' &&
+ m.vanish[0].c != m.vanish[1].c &&
Object.keys(V.HAS_BALL_DECODE).includes(m.appear[0].p)
) {
const color = this.turn;