Deck deck = new Deck() deck.shuffle() (0..<5).each { println deck.deal() }