A Sneak Peek at the BlackJack Game Written in WPF [Awesome]
Windows Presentation Foundation is a rich framework for building highly interactive and dynamic UIs. In other words, it works really well for simple games (one day I will try my hand at a 2D RPG written in WPF). It's easy for developers already familiar with .NET and its languages to leverage and create awesome client applications (or its web-based equivalent, Silverlight).
Below is a screen cast of the current state of my BlackJack implementation. As you can see, it works! The basic BlackJack rules are followed and some customization is allowed like the number of decks. AI players use basic logic to either draw or stand, the dealer follows the rules for the table and there are some useful cheats like always dealing a Soft 17, always showing the dealers hole card, etc. It also makes use of simple but effective animations and sounds for drawing and dealing, things that would take a wizard to do as smoothly in Windows Forms.
BlackJack Game Using Windows Presentation Foundation (WPF) from Kamran Ayub on Vimeo.
Refer to my previous post on when this project will see and meet the world.