Cockatrice/libcockatrice_utility/libcockatrice
DawnFire42 eca3d75e12
Centralize MAX_COUNTERS_ON_CARD and enforce [0, 999] bounds on server
- Move MAX_COUNTERS_ON_CARD to trice_limits.h
  - Server clamps values in setCounter() and incrementCounter()
  - Client uses clamped comparison to allow recovery from invalid states
  - Add tests for clamping behavior
2026-05-21 18:22:06 -04:00
..
utility Centralize MAX_COUNTERS_ON_CARD and enforce [0, 999] bounds on server 2026-05-21 18:22:06 -04:00