dnahodil/whostheass

Describe the expected return values of PlayStrategy methods

Closed this issue · 1 comments

Explain what various return values mean. Probs should get rid of card interface OR add a Card.forValue() method?

Should people writing a PlayStrategy return an List of Integers (card value) or Cards? I think Cards.

Actually, should the methods consume/return arrays or Lists? I just went to Lists by default because I am using Groovy. Perhaps arrays might be easier for people implementing a PlayStrategy.