1. Animate card dealing, chaining it after the cards rearrangement (for the case when cards were added during the game)
2. Bug fixes (dealing more cards add them at wrong place; game reset; deck allocation, where the rank King was never allocated)
Fixed animation sequence plus some minor cleanups in the code
+ Fixed animation sequence. The card selection and deselection is now done in the View and when the animation of this step is done the notification is fired and the VC continues the sequence of animation using animation completion blocks.
+ The Game Over state mechanism changed from KVO to polling. (NOTE: the Game Over concept probably needs to be re-thought. in Playing card game there is not much sense in terminating the game, unless all the cards in the deck are exhausted. Maybe the “Deal More Cards” button shouldn’t be there for the Playing card game)
+ orientation bug fixed (when switching between the tabs will result in lay outing cards in the wrong orientation)
+ some prettying in UI (tint colour, alert views)