import cardsBasic

def play_war(h1, h2):

    #while there are cards in h1 and h2
        play_one(h1,h2)
        #print the results
        #prompt user to see if the game should continue

    #print who the winner is

def play_one(h1, h2):
    #play one hand of the game
    return h1,h2

def main():
    #create a deck
    my_deck = cardsBasic.Deck()

    #create two hands
    hand1 = []
    hand2 = []

    #create hand1
    #create hand2

    #while the deck is not empty
        #add a card to each hand

    #make hand1, hand2 shorter decks (of 5 cards)


    # make a short deck

if __name__ == "__main__":
    main()