Would it be reasonable to allow larger values in `GameEntityCounterTable`?
- Dominant language
- Java
- Stars
- 2.7k
- Forks
- 1.1k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 158
Description
**Is your feature request related to a problem? Please describe.**
When using a counter-doubling ability (`CountersMultiplyEffect`), the game hangs when you reach a certain number of counters--which _looks_ like it's around the maximum size of `Integer`. There's no solution besides forcing the game closed when this happens.
**Describe the solution you'd like**
Would there be other undesirable side effects to using a larger number type for the counter values in a `GameEntityCounterTable`; like `Map` instead of `Map`?
**Describe alternatives you've considered**
Possibly just setting an arbitrary limit, lower than the `Integer` limit, to the number of counters on a `GameEntityCounterTable`.
**Additional context**
[GameEntityCounterTable source](https://github.com/Card-Forge/forge/blob/9b327cf3d2d1aec33c899d0aac3220374a023cbc/forge-game/src/main/java/forge/game/GameEntityCounterTable.java#L21)
Contributor guide
Assessment
This issue has not been assessed yet.