endplay.experimental.playdetect

Algorithms for detecting play techniques

Classes:

PlayTechniqueBase()

SimpleFinesse()

Functions:

detect_play(deal, play_history[, techniques])

class endplay.experimental.playdetect.PlayTechniqueBase

Bases: object

Methods:

match(deal, trick)

match(deal, trick)
class endplay.experimental.playdetect.SimpleFinesse

Bases: PlayTechniqueBase

Methods:

_match(deal, trick)

_match(deal: Deal, trick: list[endplay.types.card.Card])
endplay.experimental.playdetect.detect_play(deal: Deal, play_history: list[endplay.types.card.Card], techniques: Optional[list[endplay.experimental.playdetect.PlayTechniqueBase]] = None)