RE: Can anyone creat this game
Ok let me clear this up....
The end point is that in a two player only version of any game using scripts will be open to cheating because at some point either personA will have to send their choice before PersonB sends his choice and by doing that PersonA will be transmitting a packet to personB and thus PersonB could sniff that packet and read the info even though it doesnt show in his chat window yet.
What you could do would be:
Person A chooses Rock and encrypts a package with MD5 containing "password1Rock" and sends it to Person B
B acks A's packet
B sends A a packet with md5 encryption containing "password2Paper"
A acks B's Packet
B sends A a packet with his password
A decypts B's first message and outputs his result
A sends B a packet with his password
B decrypts A's first message and outputs his result
If results are different someone cheated. (and if you didn't cheat, the other guy did so you should go play with someone else)
If results are equal A and B declare the winner for this round.
How can you cheat that Cookie?
Have fun!
|