andymeneely / squib

A Ruby DSL for prototyping card games.
http://squib.rocks
MIT License
918 stars 67 forks source link

save_sheet disregards rows on small counts #332

Closed andymeneely closed 3 years ago

andymeneely commented 3 years ago

If I have a deck with, say, n cards and want to do a save_sheet with rows: r, columns: c, if n <= c, then the rows is ignored and reverts to 1. This is unexpected to me and breaks some of my Tabletop Simulator code that relies on every sheet being the same number of rows and columns.

Looks like there's a line that intentionally does this, but I'm not sure I get the decision so I'm reverting to making the rows arg always be respected.