I cannot figure out how the click to a card is actually causing the playCard function to be called. Where in the hearts tutorial (or other games) is the trigger from the click of the card?
My goal:
Right now I'm trying to figure out how to click multiple cards and then click a button to cause them to be played to the table. Many card games allow you to play multiple cards. Think Hand and Foot, Durak, Scum, Phase 10, Rummy or a number of other games. So the goal is to allow the player to select multiple cards and click a button to cause them to be played to the table, discarded or handed to another player. Any help here would be very appreciated. I still have a long way to go to understand states and notifications and such but I'm at least learning and getting something that is working.
As a side note, wouldn't it be nice to have a series of tutorials that show how individual features of the framework work? Maybe one that shows how to build new states and what all has to be changed/added to make a state change work. Or maybe a tutorial on how to adjust points or trigger buttons to pop up when certain criteria are met.
My goal:
Right now I'm trying to figure out how to click multiple cards and then click a button to cause them to be played to the table. Many card games allow you to play multiple cards. Think Hand and Foot, Durak, Scum, Phase 10, Rummy or a number of other games. So the goal is to allow the player to select multiple cards and click a button to cause them to be played to the table, discarded or handed to another player. Any help here would be very appreciated. I still have a long way to go to understand states and notifications and such but I'm at least learning and getting something that is working.
As a side note, wouldn't it be nice to have a series of tutorials that show how individual features of the framework work? Maybe one that shows how to build new states and what all has to be changed/added to make a state change work. Or maybe a tutorial on how to adjust points or trigger buttons to pop up when certain criteria are met.