You are attempting to iterate over players.get(i); I don't know what that returns, but your error message indicates it is not iterable. I would have expected it to be a player, and a Player object to have a method that returns a collection of
cards (getCards(), getHand(), something like that). Perhaps you need something like players.get(i).getCards().
rc