Documentation ¶
Index ¶
Constants ¶
View Source
const RoyaltyBasePerCardOfRank = 4
View Source
const RoyaltyFacePercentPerCardOfSuit = 0.02
Variables ¶
This section is empty.
Functions ¶
func GetLicensePrice ¶
func GetLicensePrice(card playingcard.PlayingCard) int
func GetRoyalties ¶
func GetRoyalties[K comparable, V Player]( players map[K]V, coup CoupResult) map[K]map[playingcard.PlayingCard]Royalty
Types ¶
type CoupResult ¶
type Player ¶
type Player interface {
IsLicensee(playingcard.PlayingCard) bool
}
Click to show internal directories.
Click to hide internal directories.