# Path: bot/card.py
# class Card:
#     def __init__(self,
#                  gameObj: 'game.Game',
#                  playerObj: int,
#                  deckPosition: int,
#                  suit: Optional[Color],
#                  rank: Optional[Value]) -> None:
#     def __str__(self) -> str:
#     def got_positive_color(self, color: Color) -> None:
#     def got_negative_color(self, color: Color) -> None:
#     def got_positive_value(self, value: Value) -> None:
#     def got_negative_value(self, value: Value) -> None:
# 
# Path: enums.py
# class Value(IntEnum):
#     '''
#     Only for internal usage
#     '''
#     V1 = 1
#     V2 = 2
#     V3 = 3
#     V4 = 4
#     V5 = 5
# 
#     @property
#     def num_copies(self):
#         if self is Value.V1:
#             return 3
#         if self is Value.V2:
#             return 2
#         if self is Value.V3:
#             return 2
#         if self is Value.V4:
#             return 2
#         if self is Value.V5:
#             return 1
#         raise ValueError
# 
#     def rank(self):
#         if self is Value.V1:
#             return Rank.R1
#         if self is Value.V2:
#             return Rank.R2
#         if self is Value.V3:
#             return Rank.R3
#         if self is Value.V4:
#             return Rank.R4
#         if self is Value.V5:
#             return Rank.R5
#         raise ValueError


from bot import card
from enums import Value
            self.worthless = self.value < self.bot.lowestPlayableValue
            if self.value == self.bot.lowestPlayableValue:
                self.playable = True
        if self.canBePlayable():
            self.playable = True
            self.setIsWorthless(None)

        self.valuable = None

        if self.worthless is True:
            self.valuable = False
            self.playable = False

    def canBePlayable(self):
        if self.worthless:
            return False
        if self.value is not None:
            if self.value == Value.V5:
                for c in self.bot.colors:
                    if self.cantBe[c][5]:
                        continue
                    if len(self.game.playedCards[c]) != 4:
                        return False
                return True
        elif self.color is not None:
            if self.cluedAsSingle:
                score = len(self.game.playedCards[self.color])
                for i in self.bot.hand:
                    if i == self.deckPosition:
                        continue

# Path: bot/card.py
# class Card:
#     def __init__(self,
#                  gameObj: 'game.Game',
#                  playerObj: int,
#                  deckPosition: int,
#                  suit: Optional[Color],
#                  rank: Optional[Value]) -> None:
#     def __str__(self) -> str:
#     def got_positive_color(self, color: Color) -> None:
#     def got_negative_color(self, color: Color) -> None:
#     def got_positive_value(self, value: Value) -> None:
#     def got_negative_value(self, value: Value) -> None:
# 
# Path: enums.py
# class Value(IntEnum):
#     '''
#     Only for internal usage
#     '''
#     V1 = 1
#     V2 = 2
#     V3 = 3
#     V4 = 4
#     V5 = 5
# 
#     @property
#     def num_copies(self):
#         if self is Value.V1:
#             return 3
#         if self is Value.V2:
#             return 2
#         if self is Value.V3:
#             return 2
#         if self is Value.V4:
#             return 2
#         if self is Value.V5:
#             return 1
#         raise ValueError
# 
#     def rank(self):
#         if self is Value.V1:
#             return Rank.R1
#         if self is Value.V2:
#             return Rank.R2
#         if self is Value.V3:
#             return Rank.R3
#         if self is Value.V4:
#             return Rank.R4
#         if self is Value.V5:
#             return Rank.R5
#         raise ValueError


# Path: onlyfulltag_v1_5/card_knowledge.py
from bot import card
from enums import Value

            self.worthless = self.value < self.bot.lowestPlayableValue
            if self.value == self.bot.lowestPlayableValue:
                self.playable = True
        if self.canBePlayable():
            self.playable = True
            self.setIsWorthless(None)

        self.valuable = None

        if self.worthless is True:
            self.valuable = False
            self.playable = False

    def canBePlayable(self):
        if self.worthless:
            return False
        if self.value is not None:
            if self.value == Value.V5:
                for c in self.bot.colors:
                    if self.cantBe[c][5]:
                        continue
                    if len(self.game.playedCards[c]) != 4:
                        return False
                return True
        elif self.color is not None:
            if self.cluedAsSingle:
                score = len(self.game.playedCards[self.color])
                for i in self.bot.hand:
                    if i == self.deckPosition:
                        continue

                    card = self.game.deck[i]