module Protocol ProtocolInfo=Struct.new(:parties, :pkAlg) class Base def initialize(parties) @otherParties=parties end end class Dice def initialize(parties,maximum) super(parties) @maximum=maximum myValue=(rand*maximum*5).to_i end end def initiateProtocol(type,parties,*args) end end