Is it possible for 2 applications (a server and a client) to generate the same sequence of random numbers? What I need is this:
On server:
i1:=randomrange(10,50); //i1 will be 15
i2:=randomrange(10,50); //i2 will be 40
i3:=randomrange(10,50); //i3 will be 20
On client:
i1:=randomrange(10,50); //i1 will be 15
i2:=randomrange(10,50); //i2 will be 40
i3:=randomrange(10,50); //i3 will be 20
The sequence needs to be dependent of a value that the server calculates and sends it to the client
Aucun commentaire:
Enregistrer un commentaire