jkomoros / boardgame

An in-progress framework in golang to easily build boardgame Progressive Web Apps
Apache License 2.0
31 stars 4 forks source link

boardgame-card-stack should take a max-items #397

Open jkomoros opened 7 years ago

jkomoros commented 7 years ago

It will never stamp out more than that many items passed via items.

Useful for very large stacks

jkomoros commented 7 years ago

If we do this, we'll run into conditions more often where there isn't a physical card to animate. The path for animating PolicyNonEmpty stacks SHOULD handle that fine, but will need to confirm.