Experimented a bit with Core Graphics to show random rectangular patterns on cards and also played with animations. Apart from that cards view is subclass of UIView and built in code so the main ViewController containts only basic setup for the game consisting mainly of presenting UIAlerControllers.