Test if @playedWords is nil before trying to iterate over it.