Ejemplo n.º 1
0
def semifaro_and_update():
    [semideck1, semideck2] = mixer.do_cut(36).get_cards()
    semideck1 = pycards_lib.mixer(semideck1).do_mix_faro().get_cards()
    mixer.put_cards(pycards_lib.cards_package(cards = semideck1.cards + semideck2.cards))
    C.draw_package(mixer.get_cards().cards)
Ejemplo n.º 2
0
# -*- coding: utf-8 -*-
"""
Created on Sun Aug  2 23:58:11 2015

@author: isman7
"""

import pycards_lib

baraja = pycards_lib.deck()

mixer = pycards_lib.mixer(baraja)

flipper = pycards_lib.basic_flipper(baraja)

import Tkinter

import pycards_tk

def faro_and_update():
    mixer.do_mix_faro()
    C.draw_package(mixer.get_cards().cards)
    

def semifaro_and_update():
    [semideck1, semideck2] = mixer.do_cut(36).get_cards()
    semideck1 = pycards_lib.mixer(semideck1).do_mix_faro().get_cards()
    mixer.put_cards(pycards_lib.cards_package(cards = semideck1.cards + semideck2.cards))
    C.draw_package(mixer.get_cards().cards)