BlackJack v1: working version