Beispiel #1
0
def destroyedinfo(pf, player):
    result = "\n"
    ult = ""
    ult += "\nGraveyard Total(" + str(len(pf.GRAV[player])) + "): \n"
    ult += cu.cards_to_string(cu.compress_cards(pf.GRAV[player]))
    result += "\n"
    result += "\nBan Total(" + str(len(pf.BAN[player])) + "): \n"
    result = cu.cards_to_string(cu.compress_cards(pf.BAN[player]))
    result += "\n"
    return result
Beispiel #2
0
def startdeckinfo(pf, player):
    result = "\nStarting Deck Total(" + str(
        cu.count_compress_cards(pf.DECK[player])) + "): \n"
    result += cu.cards_to_string(pf.DECK[player])
    result += "\n"
    result += "\nStarting EXT Deck Total(" + str(len(
        pf.EXTD[player])) + "): \n"
    result += cu.cards_to_string(pf.EXTD[player])
    result += "\n"
    return result
Beispiel #3
0
def fieldinfo(pf, player):
    other = 1 - player
    result = "\nEXT Monster Total(" + str(len(pf.EXTM[player])) + "): \n"
    result += "\nPLAYER:"
    result += cu.cards_to_string(pf.EXTM[player])
    result += "\nOPPONENT:"
    result += cu.cards_to_string(pf.EXTM[other], True)
    result += "\n"
    result += "\nField Total(" + str(cu.multi_array_count(
        pf.FIELD[player])) + "): \n"
    print(pf.FIELD)
    result += "\nPLAYER:"
    result += cu.multi_cards_to_string(pf.FIELD[player])
    result += "\nOPPONENT:"
    result += cu.multi_cards_to_string(pf.FIELD[other], True)
    result += "\n"
    return result
Beispiel #4
0
def cardinfo(pf, player):
    result = "\nDeck Total(" + str(len(pf.WKDECK[player])) + "): \n"
    result += cu.cards_to_string(cu.compress_cards(pf.WKDECK[player]))
    result += "\n"
    return result
Beispiel #5
0
def handinfo(pf, player):
    result = "\n"
    result += "\nHand Total(" + str(len(pf.HAND[player])) + "): \n"
    result += cu.cards_to_string(cu.compress_cards(pf.HAND[player]))
    result += "\n"
    return result