Skip to content

Commit e3cd0d2

Browse files
committed
Special math border
1 parent 2c87011 commit e3cd0d2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

game.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,7 @@
699699
const count = userData.ownedTactics[k] || 0;
700700
const btn = document.createElement('div');
701701
btn.className = 'tactic-btn';
702+
if (k === 'Math') btn.style.border = '2px solid green';
702703
btn.dataset.name = k;
703704
btn.innerHTML = `<div>${k}</div><div class="skill-count">${count}</div>`;
704705
attachTooltip(btn, t.desc);
@@ -756,6 +757,7 @@
756757
const count = battlePlayerTactics[k] || 0;
757758
const btn = document.createElement('div');
758759
btn.className = 'tactic-btn';
760+
if (k === 'Math') btn.style.border = '2px solid green';
759761
btn.dataset.name = k;
760762
btn.innerHTML = `<div>${k}</div><div class="skill-count">${count}</div>`;
761763
if (k !== "Emergency Platform") btn.addEventListener('click', () => useTacticByName(k));
@@ -784,6 +786,7 @@
784786
const t = TACTICS[k];
785787
const row = document.createElement('div');
786788
row.className = 'shop-item';
789+
if (k === 'Math') row.style.border = '2px solid green';
787790
row.innerHTML = `<div><b>${k}</b><div style="font-size:13px;color:var(--muted)">${t.desc}</div></div>
788791
<div style="display:flex;gap:8px;align-items:center">
789792
<div style="color:var(--muted);font-weight:600">${userData.profile === 'Villager' ? Math.ceil(t.price / 2) : t.price}</div>

math.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ a: 4x(x - 1)(1 - x)
143143
b: (2x^2 - 2x)(2 - 2x)
144144
C: -4x(x - 1)^2
145145

146-
4,5: If P(x) = (x^2 + 5x + 6)(x^2 + 3x + 2), coefficient of x^3 = ?
146+
4,5: What is the coefficient of x^3 in (x^2 + 5x + 6)(x^2 + 3x + 2)?
147147
A: 8
148148
B: 15
149149
c: 21

0 commit comments

Comments
 (0)