#announce card placed
function announcecard


#change turn score
execute @e[tag=dummy,scores={clockwise=0}] ~ ~ ~ function nextturn/changeturn_cw
execute @e[tag=dummy,scores={clockwise=1}] ~ ~ ~ function nextturn/changeturn_ccw


#check winner, if not go to next person
execute @a[tag=turn,tag=winner] ~ ~ ~ function win_game
function count_cards
scoreboard players set @e[tag=dummy] reshuffle_pause 5
execute @a[tag=turn,tag=!winner] ~ ~ ~ execute @e[tag=dummy,scores={deckcount=1..}] ~ ~ ~ function nextturn/nextperson_drawstacking
execute @a[tag=turn,tag=!winner] ~ ~ ~ execute @e[tag=dummy,scores={deckcount=0}] ~ ~ ~ function reshuffle