diff options
-rw-r--r-- | capset.go | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -182,10 +182,14 @@ func (d *Deck) FindCard(cardStr string) (card Card, ok bool) { } type Capset struct { - d *Deck + // d is the search space to find capsets. + d *Deck + // tableau is the current attempt to find a capset. tableau []Card - maxim int - hasSet bool + // maxim is the minimum size for found capsets. + maxim int + // hasSet is true if the current tableau contains at least one set. + hasSet bool } // NewCapset makes an initialized Capset for the provided deck. If maxim is -1, |