Black Jack using Windows Workflow Part 2


OK, just a quick post to let you know I haven’t drop my idea for making Black Jack using Windows Workflow Foundation but the holidays and my Unisa assignments pushed it to the back of the pile.

So here is a quick pic of the contract between my Data Exchange Service and my Workflow.

Black Jack contract

Yes I know it says Host in the picture but as I write this I realised that I’m not communicating with the Host at all but with a Data Exchange Service which implements my contracts and does “useful” work for the host app.

Another thing I can tell you before I give you pictures of the workflow is that an event driven activity can have multiple outcomes. As you’ll see when I upload a picture of my workflow, the outcome of an event driven activity might lead to any new state. For instance in the player’s turn, when you draw a card, you might still be in the player’s turn or you might have bust then go to the deciding winner state (see my design in Part 1), the event was drawing a card which can have multiple outcomes.

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts
Black Jack using Windows Workflow Part 3
Losing your head at golf!

Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

Be the first to leave a comment!