add: achievement, game

This commit is contained in:
Vick Scarlet
2026-08-02 22:00:21 +08:00
parent b4177d7657
commit 9df9e8776e
10 changed files with 355 additions and 73 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ describe('State', () => {
const k = key as keyof Properties
const c = props.current[k]
const be = c + effect[k]
expect(c).toBe(be)
expect(effected.current[k]).toBe(be)
expect(effected.highest[k]).toBe(Math.max(c, be))
expect(effected.lowest[k]).toBe(Math.min(c, be))
}